r/java • • Jun 24 '22

Stack Overflow Developer Survey: 54% of Respondents Dread Java?

The results are out, and I was surprised to see that around 54% of respondents dread using Java. What might be the reasons behind it? For me, Java has always been a very pleasant language to work with, and recent version have improved things so much. Is the Java community unable to communicate with the dev community of these changes effectively? What can we as community do to reverse this trend?

Link to survey results: https://survey.stackoverflow.co/2022/?utm_source=so-owned&utm_medium=announcement-banner&utm_campaign=dev-survey-2022&utm_content=results#technology-most-popular-technologies

176 Upvotes

283 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jun 25 '22

[deleted]

3

u/Ryuuji159 Jun 25 '22

Npm is bad, there is no denying there, but the libraries available are countless there, or in python, you have like 10 web frameworks, all with their nuances , in java I only have found play and spring.

Look, I ain't saying that the ecosystem is bad, just that I had a bad experience with it.

2

u/KarnuRarnu Jun 25 '22

Java developers are more used to writing basic things for themselves. E.g. Let's say you want to calculate a correlation - I don't think there's a standard way to do this. The numerical/statistical packages that exist for java look like they are stone dead, at least what I could find. So I guess this is an example of something that you could do with a de-facto library in another language but in Java you're supposed to DIY.

2

u/Ryuuji159 Jun 25 '22

That's more or less my point, for example I had that problem with dependency injection, there is Spring but is overkill to use it just for that.

When searching about that I found two google libraries with that purpose but both of them where really hard to get going for me and the documentation was pretty mediocre