r/AskProgramming • u/Zd_27 • Mar 20 '25
Why is Java considered bad?
I recently got into programming and chose to begin with Java. I see a lot of experienced programmers calling Java outdated and straight up bad and I can't seem to understand why. The biggest complaint I hear is that Java is verbose and has a lot of boilerplate but besides for getters setters equals and hashcode (which can be done in a split second by IDE's) I haven't really encountered any problems yet. The way I see it, objects and how they interact with each other feels very intuitive. Can anyone shine a light on why Java isn't that good in the grand scheme of things?
226
Upvotes
1
u/Technical-Cat-2017 Mar 23 '25 edited Mar 23 '25
Amazon literally has their own JDK versions published with pretty recent versions. Are you saying you can't use those?
As for scale. Sure the super high performance parts might need some special work. But I specifically was talking about microservices. Maybe you have a few that somehow break with a higher java version, but all of them? Sounds unlikely.
Plus you seem to suggest some kind of big bang release to upgrade your whole software stack to a higher version of the JDK. That sounds like a crazy thing to do in any mid to large organisation. Perhaps I am wrong, but to me your story/experience sounds completely different than how I have experienced upgrading to higher JDK versions at the clients I have worked with. Sure there can be some applications that lag behind in the version due to some wierd interaction, but that shouldn't stop your whole software stack from upgrading.
If we are talking about some monalithic, 3rd party software package, then I would agree that this could become as hard as you suggest it is. But in a proper microservice architecture I very much doubt it should be that hard. I don't know the specifics for amazon, but seeing as they say their JDK's are used internally and production ready, that would suggest it definitely is possible there.