Lifting the restriction on the number of public classes per file
Brian Goetz
brian.goetz at oracle.com
Mon Nov 12 16:33:22 UTC 2018
Yes, this topic has come up, and we agree that (especially with sealed types) this can start to look a bit silly. We will take this discussion up again in the EG soon.
> On Nov 11, 2018, at 10:09 PM, Francois Green <francois.green at gmail.com> wrote:
>
> In the face of the changes in code style that records will bring about, has
> there been renewed discussion about lifting the restriction?
>
> public interface Blue;
> public record IKB() implements Blue;
> public record Azure() implements Blue;
> public record Royal() implements Blue;
>
> Having to place each line in the code above in its own file seems harsh.
More information about the amber-spec-comments
mailing list