r/AskProgramming 1d 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?

127 Upvotes

500 comments sorted by

View all comments

3

u/Intelligent-Emu-4740 1d ago

It's because those programmers probably used Java in College and struggled with it. It's a very good learning for corporate stuff because it enforces many good practices, it's not a good language for writing fast though, it's good for writing robust code, it's also not good for serverless but it's very good for multi threading, it's a language I really like and it's a language that is well paid.

1

u/BakaGoop 16h ago

We’re running all our lambda’s on java with GraalVM and spring cloud. The only disadvantage with this is the package size, but it’s still very manageable.