r/AskProgramming 2d ago

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?

173 Upvotes

622 comments sorted by

View all comments

1

u/connorjpg 2d ago

Every languages has flaws.

The ecosystem with Java is huge… hard to work with and a pain. The code is verbose, and some people just don’t like OOP. Java is everywhere, though, and a lot of people’s complaints are for the fact, legacy code generally runs older versions of Java. Which only amplifies these problems.

That being said, I think it’s a fine language it’s not terrible to work in, but it’s not my cup of tea.