3 ms·
Personally, I don't mind some inconvenience if language designers occasionally need to make breaking changes to allow improvements, and I've had to port enough
by Ankaios 6y ago
Personally, I don't mind some inconvenience if language designers occasionally need to make breaking changes to allow improvements, and I've had to port enough scientific Fortran code to newer languages to limit my sympathy for porting from Python 2 to 3. Computer languages aren't static, and sometimes I need to do some work to keep up as they evolve.
- hdjdbtbgwjsn 6y agoI bet the old Fortran versions are supported and compile decades after the 'newer' languages stop being supported...
- tjalfi 6y agoI have compiled Fortran programs from the 70s on modern platforms without changing a line. The compiler, OS, and CPU architecture had all disappeared but the programs still worked correctly.
- hdjdbtbgwjsn 6y agoI've 'modernised' such an old program then come back a few years later, realised the 'modern' ones don't run anymore and reverted to the old Fortran version.
- TheRealKing 6y agoThat is likely a compiler issue. Besides being modern, Fortran 2018, 2008, 2003 have no backward incompatibility issues.
- hdjdbtbgwjsn 6y agoYou misunderstand. I 'modernized' to Python (similar to the GP). Then the Python version stopped being supported so I reverted to Fortran..
- occamrazor 6y agoAnd Python 2 scripts continue working just fine with the Python 2 interpreter.
- Drdrdrq 6y agoWhich is no longer supported.
- Wowfunhappy 6y agoWell, it is open source. I'm not expecting Python 2 to get completely dropped from Linux distros in the near future. (I could be wrong; I will be disappointed if I am.) There was an article the other day about problems mixing different python versions on Mac. I admittedly didn't read much of it—but I was somewhat baffled by the problem. I have Python 3 installed on my mac as "python3", and Python 2 (which comes with macOS) as just "python". I think that's the right way to treat them—as different, independent interpreters which can co-exist, as do, say, Python and Ruby.
- hdjdbtbgwjsn 6y agoOK but the latest Fortran specification and compilers explicitly support all Fortran77 code and a really large amount of F66 as well. Will there be Python 3.8 interpreters in 2100? F77 will still compile and run better than it did in the 1980s.
- kzrdude 6y agoThere were minor breaking changes in Python 2.4, 2.5 and so on. So Python certainly had the gradual minor breaking evolution down pat.