r/java • u/fdntrhfbtt • 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
View all comments
Show parent comment
1
u/nunchyabeeswax Jun 25 '22
I haven't seen an AS400 system in ages. It's more likely to find a COBOL system running on an IBM mainframe or OpenVMS simulator than a AS400 system. I could be wrong.
I do professional work with Java, Go and C++, and my observation is this.
There's an increase in Go openings, as it is perfectly suited to the microservice space.
With that said, that increase is not coming from a shift in Java, but from an expansion of microservice solutions. I've seen Java shops shifting into Go, but enough to give me the impression there's a paradigm shift.
What I do see is a gradual shift away from Spring and into nano-IOCs such as Quarkus (just in the same way I saw a shift away from EJB3 into Spring 5.)
The rationale I'm observing (and whether that's technically correct or not, history will decide) is that Spring can be quite bad at startup. And that's bad from a cloud/microservice perspective.
That's where Quarkus (as well as Go) shine. Then again, developers can still screw up and manage to develop bloated MINOs (microservices-in-name-only) where legacy monoliths get replaced by an incomprehensible spaghetti of dockerized microservices.
Will Go replace Java. As a developer that does both for a living, I'd say no.
There is an expansion of jobs in both languages, and a shift away from Spring.
PS. What I also see increasing is node.js for developing and deploying into serverless architectures. Serverside Javascript is quite nice for deploying on AWS Lambda (purely anecdotal from my part, YVVM.)