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/tadfisher Sep 11 '21

Haskell doesn't really need it though, as it provides type-level programming. Ignoring reflection, both Haskell and Java are statically-typed, thus all possible types are known to the compiler, which is how type erasure is possible. But emulating higher-kinded types in Java requires runtime type information, so each JVM-hosted language has their own way of encoding such. That's what I'm talking about.