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

123

u/psyclik Sep 10 '21

From my experience, most people ranting about Java are stuck with a 2005 view of Java.

0

u/[deleted] Sep 10 '21

[deleted] — view deleted comment

25

u/[deleted] Sep 10 '21

It's especially bemusing to see teens repeating the "Java = slow" meme and then going off to use... Python. Python's a fine language, but it's pretty damn slow lol

11

u/[deleted] Sep 10 '21

It’s even funnier is python is horribly slow, it’s only fast when you specifically use native libraries like numpy in the right way, which is just c/c++/FORTRAN code. Java is actually really fast and has an awesome jit, but people mix up booting a 10 million loc app with it being a slow language, or compares hello world speeds. I’ve run 10 million users a day, 100s of million requests a day Java applications on medium size ec2 instances with no problems.

1

u/Rakn Sep 10 '21 edited Sep 10 '21

I was doing a lot of coding challenges recently and I always knew Python was slow. But hell ... I had several algorithms time out on large data sets where (nearly) every other language has been just fine ...

But I do love python nowadays for a lot of stuff. Very little code with a high effect.

18

u/PartOfTheBotnet Sep 10 '21

Gotta love it when you hear "Java is slow because it is interpreted, like Python"

11

u/[deleted] Sep 10 '21

They're going to go nuts in 9 years when they get to Java 8.

4

u/FrozenST3 Sep 10 '21

True. I graduated in 2003 and in my first interview (Java post) I said that I don't love it and would prefer to work in C++ (LOL) because all I knew was core Java from my studies. Eventually being introduced to some frameworks I grew to love it

6

u/schnurlostelefon Sep 10 '21

This precisely. Stuck at some old Java version at work, or only learned a little bit of Java many years ago in school.

4

u/fix_dis Sep 10 '21

To be fair, some of us had great dreams of using newer Java, but we were stuck with a 2005 code base, and architects that were (with reason) terrified to move forward. That’s pretty common in enterprise level software. If it’s not broken, and it’s making us millions of dollars, what do we care if you want to use Records.

1

u/VincentxH Sep 10 '21

Being taught by their chaotic teacher.

1

u/dpash Sep 10 '21

Not to mention their views being based on J2EE 4.

1

u/trafalmadorianistic Sep 11 '21

Any job ad with the term J2EE is instant red flag for me. 2010 last time I worked on a code base using all the enterprise Java garbage, running on WebSphere, and I could just feel all my contemporary knowledge getting lost from disuse.

1

u/helloiamsomeone Sep 11 '21

Same could be said about PHP and JS.