[records] translation strategy
John Rose
john.r.rose at oracle.com
Fri Jan 10 19:15:04 UTC 2020
On Jan 10, 2020, at 9:01 AM, Brian Goetz <brian.goetz at oracle.com> wrote:
>
> A significant reason to have a supertype is not API points, but API specs. We can refine the spec of equals() if there is an abstract Record type.
Agreed. I suppose these observations about translation strategy
provide an independent motivation for using a real record super.
But, yes, a bigger value of a super is its factored and discoverable
javadoc.
More information about the amber-spec-experts
mailing list