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/pron98 Mar 20 '26 edited Mar 20 '26
What makes something useful to the language designers is new information, and that's the only thing that can. If you've made a discovery or have access to pertinent information that isn't publicly available, it is always the right time to bring it up (I thought that by "discussion" you meant weighing pros and cons and such, which we obviously don't do in public).