4 ms·
What? No! Python 2 is only 17 years old. I can still run Java, C, C++ and Perl 5 (picking the first 4 languages that occur) that were written before then, with
by CJefferson 9y ago
What? No! Python 2 is only 17 years old.
I can still run Java, C, C++ and Perl 5 (picking the first 4 languages that occur) that were written before then, with no problems.
- xapata 9y agoWhich version? Aren't we on Java 9 now?
- qznc 9y agoThat is actually Java 1.9. They decided to kind of hide the leading "1." at Java 1.5. https://en.wikipedia.org/wiki/Java_version_history#Versioning_change https://en.wikipedia.org/wiki/Java_version_history#Versionin...
- shagie 9y agoThat was part of Sun's "people pay more attention to the first number" reversioning. Solaris 2.6 was followed by Solaris 7. This was partly because of the competitors (e.g. IRIX) were raving the first digit with each major version. When Solaris was version 2.6, IRIX was version 6. As I recall it, Management had less confidence with things called "1.X" or "2.X" than things called "5.Y". So, Sun went through and started dropping the small leading digit from the versions of their products.
- CJefferson 9y agoI can still run java 1.2 code fine (I say 1.2 as I have a bunch of 1.2 code).
- jhasse 9y agoMost C++ code wont compile for multiple reasons. For example using namespace std will result in errors if your code calls a function which is now part of std.
- throwaway613834 9y agoBut you can get rid of compile errors pretty easily. Pretty darn different from Python where you have to run the code to find issues.
- CJefferson 9y ago"most" is a great exaggeration. Yes, I few more names have been added. Also, it was always known adding namespace STD could cause problems. The same issues arise with import * in python.
- jhasse 9y agoThat was just one example though. In my experience getting old C++ code to compile and run isn't so easy.
- user5994461 9y agoI actually think that migrating from Qt4 to Qt5 has a lot of similarity with python 2 to python 3. Not sure why there aren't more people doing the comparison.
- freeone3000 9y agopyqt is a robust enough wrapper to avoid the migration issues, so in a python thread you won't have anybody who suffered through that mess.
- user5994461 9y agoI am not talking about pyqt or python code, I mean pure C++ projects using Qt. The transition from 4 to 5 had some hiccups.