r/learnjava • u/aleesssa • Nov 25 '20
why do people hate java so much?
why do people hate java? I personally really love java because of the OOP paradigm and it makes my codes cleaner. not to mention the portability. but i swear I see more than one tweet hating on java everyday, or saying java is dying. is java really dying?
I guess I have two questions; why do people hate on java and is there still a future for java?
120
Upvotes
4
u/sweetno Nov 25 '20
Java is verbose, people first think it's okay, but after reaching 200k lines they start questioning their sanity.
There is also this Null pointer exception thingy which is very curious in Java because there is a feeling that you see more NPEs at runtime than null pointers in your code. If null pointers were removed from the language, most of developers wouldn't complain at all.
Overall, exceptions in Java tend to come from unexpected places.