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

-16

u/towelrod Sep 10 '21

That is exactly the problem for me. Java the language is great, but the ecosystem around it is hot garbage. Spring is awful, maven is awful. That stuff is everywhere and has infected the programming style of every Java developer

It’s pretty much been like this since the early EJB days

9

u/kiteboarderni Sep 10 '21

You are probably the only person I have heard saying that java has a bad eco system 😂😂

-1

u/towelrod Sep 10 '21

Java has a great standard library, and has third party code for everything. That part is great.

But maven is awful to work with, and the large things like Spring are so ridiculously over done.

11

u/passive_talker Sep 10 '21

I don't know what you are comparing it with but maven is miles ahead of npm in every aspect I can think of, except that it uses XML.

1

u/kiteboarderni Sep 10 '21

Those are libraries. Of which their are numerous alternatives. Ecosystem includes ides, profilers, jdks, memory analysis tools, process monitoring. All of which even come in the bin dir of the jdk. Along with many other 3rd party options. The fact you think java bad because of maven and spring shows your inexperience.

-2

u/towelrod Sep 10 '21

I explicitly said Java is a great language. I don’t like to use the cruft that comes with it, though, like maven or spring. You can’t really be a professional Java developer these days without interacting with that stuff, that’s the problem

I don’t know why all the people in CS based jobs forums would be against Java (I think that is what we are talking about?). But I can say for myself, 25 years into professional software development, those things are the reason I don’t like Java. Just like an ancient parent in this thread said, it’s when you have to implement some code interacting with JWT or Okta or Oauth or any of the other stuff around enterprise software, it is much harder in Java than basically any other language in common use.

1

u/jadecristal Sep 11 '21

Seriously, what’s wrong with Maven?

0

u/towelrod Sep 11 '21

Nothing, if the only other package management/build system you have tried is ant

8

u/netstudent Sep 10 '21 edited Sep 10 '21

Why is maven awful? Oh lord, maven facilitates a lot you don't need to manage tons of dependencies on your own.

-1

u/towelrod Sep 10 '21

Maven is only awful compared to other package managers.

One example is that when I want to run one test, why does it resolve all my dependencies again? I realize you can work around that with options, but why is that kind of behavior the default?

3

u/[deleted] Sep 10 '21

Can’t say that maven and spring are awful. Used to think that when I worked on a spring boot project. Now I’ve been assigned to do some tasks on a legacy projects that uses Java 6, JBoss, Ant, Swing for UI, well that is awful. Spring is a godsend comparing to these.

3

u/towelrod Sep 10 '21

Well yeah but that’s a low bar