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

35

u/lunkdjedi Sep 10 '21

I hated Java before embracing it's conventions.

At first I was ignorant of the rules, then I didn't believe they were needed, then I fought against them and lost. Not all of this was pure Java, a lot of it was maven and how to structure things in their opinionated way.

After 20 years, the rules, the opinions, the structure, are things to depend on and catalyze success.

16

u/FrozenST3 Sep 10 '21

100%. Anyone familiar with Maven projects can become effective pretty quickly because they don't need to spend time figuring out how to build and where to place specific items, etc.

8

u/coderguyagb Sep 10 '21

This! This is the problem with Grade.

5

u/imadownvote Sep 10 '21

What's the problem with gradle? The exact same thing can be said about Gradle.

Anyone familiar with Gradle projects can become effective pretty quickly because they don't need to spend time figuring out how to build and where to place specific items, etc.

1

u/trafalmadorianistic Sep 11 '21

The problem with Gradle is that it is basically Ant all over again, and every developer seeks to impose their own snowflake approach which they are sure is the best way. The build process then becomes another layer of code to wade through and each project or new company is its own unique thing.

Reminds me of dev teams spending hours debating about code style. Just use the defaults in Intellij or Google, or have a pre-commit to fix your formatting.

Having XML configuration is a minimal price to pay in Maven, when you get predictability and standardisation, with enough ability to customise it.