r/AskProgramming • • 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

695 comments sorted by

View all comments

2

u/x39- Mar 20 '25

Because C# is the better Java

1

u/a3th3rus Mar 20 '25

True, but C# is harder to learn, too.

1

u/x39- Mar 20 '25

How? Because you now have struct and class?

0

u/a3th3rus Mar 20 '25

That's one thing. I also mean things like delegates, events, STA and MTA, extension methods, expression trees, and async/await.

1

u/xTakk Mar 20 '25

That doesn't make it harder to learn c#, that usually just means it'll be harder to learn to implement those things in java

1

u/a3th3rus Mar 20 '25

If you have experience in programming, you know how valuable those features are. But for beginners in programming (not only in C#), they don't know why those features exist or how to use them. That's why I say C# is harder to learn than Java. I do think as a language, C# is superior to Java, but that does not mean it's easy to learn.

→ More replies (2)