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

56

u/cosmin14 Sep 10 '21

maybe because some are stuck with old version of java.

and some rants on the Internet about Java and how cool is <insert_hype_stack_here>

17

u/TheMode911 Sep 10 '21

Being fair, a lot of the great features are still yet to come (valhalla, loom, complete pattern matching, etc...). I greatly appreciate records but there is not much else to talk about.

What is great about Java (and the JVM in general) is its tooling and community

14

u/[deleted] Sep 10 '21

Performance wise it smokes python and js and equals golang. Rust is crazy fast of course.

7

u/vips7L Sep 10 '21

Rust is also crazy verbose and feels like pulling teeth to do simple things.

2

u/fix_dis Sep 10 '21

Crazy outlandish things though… like simple string handling /s

4

u/vips7L Sep 10 '21

I know you /s’d but I don’t want to worry about &str, String, or OSStr.

2

u/fix_dis Sep 10 '21

That was my first experience with Rust... I used it to solve some algorithmic puzzles and it was ok (I actually like OCaml - which Rust was loosely based on in the beginning). I then thought, I wonder what writing an API endpoint would be like. So I fired up an Actix project.... the level of WTF when doing simple string stuff was just too much. I shut it down. My entire life, strings have always been either char[] or String. Now to have to deal with this nonsense, was more than I was willing to dedicate time. I mean, at a deeper level, I do understand why.... I just don't like having it being my responsibility. No hate for Rust, just no love yet.

2

u/vips7L Sep 10 '21

That's where I landed with both C++ and Rust. There's just too much to worry about. I mostly would prefer to work/write D, but the job ecosystem just isn't there.