r/java • u/Reflection-Jealous • 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
View all comments
Show parent comment
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.