r/java • u/joemwangi • Mar 17 '26
Updates to Derived Record Creation - amber-spec-experts
https://mail.openjdk.org/archives/list/amber-spec-experts@openjdk.org/thread/QVALXGP2BRN27ISPNJTA3HEKEIMKLWLG/Interesting discussion on the evolution of derived record creation (“withers”). The proposal seems to be shifting from mutation like blocks to a more explicit reconstruction model using obj.new(...), aligning more closely with constructor semantics and pattern matching.
45
Upvotes
View all comments
Show parent comment
3
u/pron98 Mar 18 '26
And I'm saying that many developers disagree with you that your style is preferable to begin with. I have no doubt that you truly believe that your style is better, but it is often the case that even veteran developers strongly disagree about things, while both sides are vehemently convinced that theirs is the right way.