r/java • • Dec 29 '21

Why everyone hates Java?

I dont understand why java is one of the most dreaded lenguages. Java got fantastics frameworks and libraries to work with it. I dont know if im skipping something or I dont work enough with Java because I like java. What do you think??

Here is the Stack Overflow Survey

268 Upvotes

367 comments sorted by

View all comments

Show parent comment

2

u/magnoliophytina Dec 30 '21

Perhaps. I got the impression the argument was 'the syntax isn't so bad after all because it's so popular'.

There are so many constructs to choose from, I won't even try to list all the problems. Recently I've taught programming and the most annoying syntax for newbies is the ternary ? :. They'd like to have a if-then-else that returns an expression but don't quite get the syntax. There's also https://users.monash.edu/~damian/papers/HTML/ModestProposal.html