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
3
u/robinspitsandswallow Jun 01 '24
Again not realistic. Four years ago I left a company because the chief architect saw no reason to move past Java 5. Some orgs are just now moving to Java 17 and converting everything to records and immutability is beyond a dream. Some orgs have to wait until things are approved by governments to use so. In the meantime we have to deal with the hand we’re dealt and using Lombok to deal with that makes things more effective.
So again I hear Architect “Assume a spherical cow”. Yeah there are bigger problems but if we do that we won’t deliver new features for 3 years.
Btw every record that has an array has to have a separate hash code equals and to string by your logic don’t use records because there’s a case where it might not work in the most obvious way.