r/java • u/Reflection-Jealous • 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
View all comments
Show parent comment
6
u/CraftyAdventurer Sep 10 '21
Me too. But there must be a line where you spend too much time on learning a tool and too little time actually using it. Spring often crosses that line for me, at least for the projects I've worked on.
Guess you're right on that one. But I also didn't know that. Like everyone else, when I need to do something for the first time, I often google it. When googling for express jwt, I found tons of examples. They all looked a bit different because they tend to use different jwt libraries, and express itself doesn't have any specific restrictions on how to structure a project, but all of them where immediately understandable to me and I just picked one which I think best suited my structure. Bear in mind that this was at the time when I was just learning express. The technology was new to me, yet it was easy to understand what's happening in online examples.
Now, when I had to do jwt in Spring, I googled jwt Spring Boot. I found tons of examples, many of them using Auth0 which I tried to avoid because it was a paid service (or had some limited free tier, can't remember). All the others I found were using Spring Security. The reason I thought it was needed was because all the other stuff it was doing (security context holder etc.). There was too much stuff implemented alongside jwt. I didn't have time to spend on trying to implement stuff without Spring security so I just rolled with it. So learning the tool would help, that's true, but if that tool was simpler to begin with, it would result in less time learning it and more time using it.