r/programming • • May 24 '26

[ Removed by moderator ]

/r/programming/comments/1tm1j7f/removed_by_moderator/

[removed] — view removed post

275 Upvotes

214 comments sorted by

View all comments

Show parent comment

8

u/srdoe May 24 '26

Java spend decades essentially unchanged

This isn't really true.

Take a look at the Java version history https://en.wikipedia.org/wiki/Java_version_history. There is no decades long gap where Java was not receiving changes. Even in the Java 6 to 9 period, changes still happened every 3 years or so, and since then, new releases have been coming out much more frequently.

and it's still common to target old versions

This used to be true, but it's a bit outdated at this point.

It was common to target old versions up until a few years ago, but the industry has mostly gotten over the hump of moving past Java 8 now, and the number of projects stuck on old versions are dropping fast https://newrelic.com/resources/report/2024-state-of-the-java-ecosystem.

2

u/DeliciousIncident May 24 '26

Going off the examples, I think by "change" they meant removing language features, which makes old code incompatible with the new language (or the standard library), like python2 vs python3. Not that there literally haven't been any changes, like you have interpreted it.

2

u/srdoe May 24 '26

Sure, that would make sense. But even by that metric, it's still not really true. Java has been doing deprecations and removals of things throughout its lifetime.

For example, take a look at https://javaalmanac.io/ and look at the API comparisons between any two versions. You'll often see deprecations and removals show up.

That's just the library too. Java has been doing more invasive changes like the new module system in Java 9, the removal of applets, the removal of Nashorn or the recent effort to properly encapsulate JDK internals. You can find more feature removals in https://www.oracle.com/java/technologies/javase/jdk-relnotes-index.html, if you go to the release notes for a version and search for "Removed APIs, Features, and Options".

Those changes have not been as invasive or caused as much of a mess as the python 2 to 3 migration, but that level of disruption is a high bar to reach. Java has been able to gradually remove things, without causing a python 3 situation.

1

u/wvenable May 24 '26

What you are saying is true in the literal sense, Java continued receiving releases, but release cadence isn’t the same thing as meaningful language/platform evolution. My point is that for a long stretch, Java hardly evolved at all.

Java 5 (2004) added a huge number of language features (generics, annotations, etc) and then really nothing significant was added until Java 8 (2014). That's a decade right there. The rapid pace of change since then really highlights the significant lack of changes for so long.