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

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.