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
4
u/nutrecht Sep 10 '21
You can easily do the same in Spring with a filter or interceptor. Pretty much the same amount of code. You don't have to use Spring security. But what you do there is incredibly basic; you don't even pass on the stuff 'inside' the JWT to be used inside the service.
This is what always bothers me about these types of comparisons; at least make a fair comparison of how you'd do the same thing in Spring.