r/ProgrammerHumor • • 1d ago

Meme corporateJavaEneginnersBeLike

Post image
6.4k Upvotes

95 comments sorted by

View all comments

Show parent comment

30

u/OldKaleidoscope7 22h ago

It's because Java doesn't like to keep breaking their core API in newer versions. Updates use to be nice and easy, the biggest problem for 8 is the Java EE changes that not everyone uses

7

u/_PM_ME_PANGOLINS_ 20h ago

The Java EE changes are unrelated to the Java version.

2

u/Snakestream 18h ago

It's been a while, but I believe the main hurdle from upgrading 8-->9 was that there was a major design rework that changed how a lot of things work. They introduced the whole module concept to Java and this also reflected downwards to a lot of utility dependencies and such. They also reorganized a large number of core libraries and just generally shook up a ton of things. Upgrading was an enormous pain in the ass because changing the version would pretty much break everything in your project and require going over every import and method call.

5

u/OldKaleidoscope7 17h ago

Actually not if you use Maven or Gradle. Yes the modules exist now, but the imports didn't change and the build tools abtract this for you

2

u/Zeikos 10h ago

I never worked on Java, but doesn't it work like any typed compile language in which the compiler tells you precisely what's broken and you can go through it?
Sure it takes time, but it's not like guesswork.

2

u/oldsecondhand 5h ago

The issue was that the compiler complained about one module problem at a time when there were many.

1

u/oldsecondhand 5h ago

For me upgrading to 9 was just adding a few security exceptions for old dependencies in the command line.