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/jasper_grunion Mar 21 '25
For me the fact that IDEs are needed to manage the boilerplate is itself a good enough reason to not like it. But that doesn’t mean it’s not a useful language. For a long time it was the most popular general purpose development language. It is statically typed and compiled which makes it performant. Also it has a virtual environment which makes it portable. It has garbage collection which is a great feature but some people still complain about because they want to have full control of memory. And over the years they have added features which make different styles of programming possible, such as lambda expressions. And there will always be an API for other software you might interact with, making Java an excellent glue language. Then you have languages like Scala and Kotlin in the same family. You can also use it for Android development. The list goes on and on.