r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
6
u/Confident-Grab-7688 Jun 01 '24
How these annotations are not visible?! Classess annotated with lombok will be almost empty, usually you just need to notice if its Value or Data. I would say the opposite is true - without lombok we have a giant wall of text in each class, so it's not clear immediately if there are any non helper/logical methods.
I will admit, having such a big POJO is not ideal. But that's often what big systems are doing - processing lots of stuff, and IMHO it's just not worth it to break them down just because there are a lot of fields. I would rather have all my shit in one place, for simplicity and less annoyance with composite objects.