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

16

u/RabidKotlinFanatic Sep 10 '21

I think it boils down to people being unaware of "modern Java." They think the JVM is a slow environment, only used by enterprises and that Java programming is stuck in 90s OOP AbstractFactoryConstructorBeanFacadeStrategy design pattern thinking.

5

u/Hioneqpls Sep 10 '21

I'm getting so spoiled with my lambdas I get frustrated when other languages don't offer something similar.. languages.stream().filter(l -> l.aintGotNoLambdas).forEach(l -> l.name + ": i'm trash lol");

3

u/kag0 Sep 10 '21

You should try scala 😉

Also there's no side effect in your forEach so it's a no-op

2

u/Hioneqpls Sep 10 '21

Oh seriously?

1

u/kag0 Sep 11 '21

Yes. On both.

But which were you asking about? lol

→ More replies (3)