JEP 359: Records
John Rose
john.r.rose at oracle.com
Fri Oct 11 19:10:26 UTC 2019
On Oct 11, 2019, at 10:18 AM, Jonathan Rosenne <jr at qsm.co.il> wrote:
>
> May I suggest that the compiler detect suitable existing classes that could be records and treat them as such? For example the often used Point class, or the Integer class?
This is a job for the IDE, not the language processor. IDEs are good at suggesting
improvements like this.
For the reasons Brian explained, the IDE must then ask the user for permission
to formally and explicitly mark the class as a record.
More information about the amber-dev
mailing list