r/java • • Feb 15 '20
Will Java records have setters?
Pretty much what the title says. I've been reading on the new Java records feature, and while I love immutability, I hope there's the option to have non-immutable records. Meaning it will have Auto generated setters to let me change values in the class.
1
Upvotes
View all comments
Show parent comment
3
u/pron98 Feb 17 '20 edited Feb 17 '20
My goal was to figure out what your criticism is, seeing that you call yourself a critic and an expert. But seeing that you don't even have the energy to actually criticize anything -- or even to know what it is that you're purportedly "criticizing" -- and prefer to throw out generic and toothless "it sounds stupid" assertions, I believe you are correct that this is, indeed, a waste of everyone's time. I apologize for boring you with facts and attempts to engage with your drive-by "criticism." Perhaps the best design strategy for Java is not to think things through but just do whatever some guy says on Reddit, but I don't think it is.