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 comments

2

u/Hioneqpls Sep 10 '21

Oh seriously?

1

u/kag0 Sep 11 '21

Yes. On both.

But which were you asking about? lol

1

u/SomethingMor Sep 11 '21

I’m not super proficient in scala but whenever I have to code in it it always feels like a mathematicians wet dream. If Java is too verbose, scala is on the complete opposite side of the spectrum. Also I hate that symbols can be methods. And I hated implicit.

1

u/kag0 Sep 11 '21

All the developers I know prefer method names over operators. I'll still do list + element or list ++ otherList but the standard lib has method names for everything as well (list.appended(element)). ScalaZ was the worst for symbols and being mathy, but the community seems to be moved to cats for having method names and beginner friendly docs.

Implicits can be the best thing or worst thing in Scala, just depending on the code you're working with. Type classes are a good use, magnets can be rather nasty.

1

u/Hioneqpls Sep 11 '21

log.info("fuck i meant to print it");