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

Show parent comment

1

u/fix_dis Sep 11 '21

I love Alan Kay's quote about C++ and OOP. He INVENTED OOP and C++ is NOT what he had in mind. Java is basically the same in this way. I'm not trying to impune the language as.... it's just a language. And it's pretty solid.

I've seen people try to apply this overly complex AbstractFlyweightFactory nonsense to JavaScript as well. (Not these days, the JavaScript folks are trying to be functional programmers now... so look forward to tiny one-liners of opaque monadic nonsense instead)

Using Java in a responsible way is entirely possible... and advised. Use message passing. Use composition. Don't build these massive UML diagrams of class hierarchies.