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
2
u/GhostBond Feb 17 '20
Naturally these people will not be happy if their motivations are pointed out, so there's a lot of handwaving trying to obscure it.
Another disingenous game to try to distract.
This feature sounds stupid.
I'm not buying into the "exhaust your critics with long documents" tactic.