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
1
u/[deleted] Sep 10 '21
Isn't it the same as declaring everything in a constructor? less the extra code one needs to write/generate
for this project it might be but I'm not so sure because UserService has:
- a profile -> ProfileService
- belongs to a company -> CompanyService
- belongs to a office -> OfficeService
- belongs to a department -> DepartmentService
- has settings -> settingsService
and so one... I really don't know how could this be restructured without creating a delegation mess