Possible records tweak
kevinb at google.com
Fri Apr 24 19:27:26 UTC 2020
On Fri, Apr 24, 2020 at 12:11 PM Brian Goetz <brian.goetz at oracle.com> wrote:
I like (1)! It is safe and easy to explain.
I love it. Nothing good can come of accessing `this` in a record
The parameter reassignment model is elegant and safe and simply takes
getting used to, since there's been no precedent for a parameter being more
than just a local variable (unless I'm forgetting something). (Also
contributing to this: parameter reassignment is in *general *an commonly
and unfairly maligned practice!)
But once people can't do it any other way, that will help a lot.
Kevin Bourrillion | Java Librarian | Google, Inc. | kevinb at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the amber-spec-experts