r/java • • Sep 10 '21

Why people don't love Java?

I came across this post in r/cscareerquestions it seems majority of the people don't love to work with Java.

Is there any specific reason for that?

Edit: Thank you guys for your responses, I can't reply to all of the comments because I'm a beginner myself and I don't know what to reply for all your comments.

201 Upvotes

379 comments sorted by

View all comments

56

u/cosmin14 Sep 10 '21

maybe because some are stuck with old version of java.

and some rants on the Internet about Java and how cool is <insert_hype_stack_here>

17

u/TheMode911 Sep 10 '21

Being fair, a lot of the great features are still yet to come (valhalla, loom, complete pattern matching, etc...). I greatly appreciate records but there is not much else to talk about.

What is great about Java (and the JVM in general) is its tooling and community

7

u/mad_researcher Sep 10 '21

I implemented pattern matching in like 20 minutes with a tagged union class the other day. Optional also provides pattern matching for <Object | null> unions. The functional programming capabilities they've added really make java very expressive.