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
2
u/davidalayachew Mar 20 '26
Then maybe I am not being clear.
My example of the Checked Exceptions disagreement was to point out how wildly opinions can vary on Checked Exceptions. Some think it is the devil. Some think that there are literally no problems on it. These 2 groups disagree. Since one group does not acknowledge the other groups pain points, does that then mean that the discussion is not worth having?
My point in the previous comment was to explain why it is no. Moreover, you have to quantify the perceived pain by each group, and from there, use that to develop some form of "priority", which leads into what you are saying.
There's an entire group of developers that applaud Clean Code and it's opinions on method scope. Whether or not you see bloated method scope as a problem is different than saying others do not.
Hence my point -- there are plenty of people that agree with me, but I accept that what I am pointing to is a problem that too few people think is an issue, and thus, makes my point a lower priority. That's not the same as saying others don't see it as an issue.