How records would fit into Google's codebase
john.r.rose at oracle.com
Wed Apr 3 18:22:30 UTC 2019
This is very welcome work. Reading the tl;dr I was struck again how terrible the term “immutable” is, because the first syllable so often gets lost, in both speech and text.
I suppose you must have meant “shallow mutability” as short for “shallow mutability status” but the bit gets flipped so very easily with that term.
I’m grumbling about the tools we seemingly must work with. No reflection on your excellent work. Thanks for that!
On Apr 3, 2019, at 10:46 AM, Alan Malloy <amalloy at google.com> wrote:
> …The language should enforce shallow mutability (by making all fields final), and style guides should recommend that deep immutability.
More information about the amber-spec-experts