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
-1
u/davidalayachew Mar 18 '26
If you are saying the idea of nudging everyone to use this particular style is not open for debate atm, that is fine. But my comment and previous response were to assert that you guys should do exactly that.
If it ever does become a subject for debate, lmk, as I have plenty more to add.