5 ms·
The reason is obviously Java 9 which broke compatibility in many areas https://www.oracle.com/java/technologies/javase/9-relnotes.html#JSERN9 https://www.oracle
by maltalex 3y ago
The reason is obviously Java 9 which broke compatibility in many areas https://www.oracle.com/java/technologies/javase/9-relnotes.html#JSERN9 https://www.oracle.com/java/technologies/javase/9-relnotes.h...
- josephg 3y agoThe mistake of python 3 must never be forgot.
- nradov 3y agoIt was painful, but most of the community doesn't consider it a mistake.
- 1letterunixname 3y ago"Mistake"? There was 2to3, a clear timeline, and a migration path. Compatibility forever drags along tech debt the way Microsoft did. On the other extreme, Apple is guilty of breaking things too aggressively without enduring compatibility. Major version incompatibilities with clear advantages is righteous churn, so it's a narrow path that must balance competing concerns. Perl 5 -> Perl 6 is the oddball without a migration path because they're totally different.
- earthboundkid 3y ago2to3 was a bungle. Python 3 was dead until six came out, which had an actual plan for upgrading that works (forward compatibility) instead of automatic rewriting, which does not work.
- DaiPlusPlus 3y ago> On the other extreme, Apple is guilty of breaking things too aggressively without enduring compatibility. Apple views that as a good thing.
- 1letterunixname 3y agoThat's Apple's arrogance.
- akadruid1 3y agoThe mistake was the way it was handled. I'm not sure Python trod that narrow path well - not all the breaking changes in Python3 were clear advantages, especially in the pre-3.5 days, the migration path was harder than necessary as a result, and the timeline was clearly too aggressive with hindsight. Python got very lucky with their strong community support. Millions of hours were invested into upgrading Python2 code to Python3, essentially on trust in the early years (2009-2013). Without the strong community support Python could have gone the way PHP did in the 5 -> 7 -> 8 era It's interesting to compare these with languages that never did the breaking change to clear out their tech debt. Back in the day, Javascript was nearly universally hated (The Good Parts was very controversial!), and it nearly splintered into multiple languages, but managed to consolidate under ES5 and then explode in popularity without ever having a Python2-3 moment.
- throwitaway222 3y agohttps://www.jetbrains.com/lp/python-developers-survey-2020/ https://www.jetbrains.com/lp/python-developers-survey-2020/ Scroll down to Python Versions They clearly did something better than Java. 94% vs 6% (and that was 2020!)
- majormajor 3y agoYou're comparing 12 year old Python 3 (as of 2020) with 6 year old Java >=9 (as of 2023). 6 percent of people in 2020 were using Python 2, 12+ years after Python 3 was released. 12 year old Java right now is Java 7, which is only used by 2 percent of people in this link.
- ac130kz 3y agoKeeping Python 2 for long was a mistake, it had too many inconsistencies.
- MilStdJunkie 3y agoYeah, there's a gigantic pile of XML enterprise stuff that all needs to run in its own sandboxed containers now because of this. Not blaming Java or anything. That crap shouldn't really even exist, but even if we could find the original vendors, the costs would be in geosynchronous orbit. The Overlords would spit their Frappuccino in our faces, Mugatu-style, if we came to them with a quote.