Dear experts, The first draft of a spec covering JEP 512 (Compact Source Files and Instance Main Methods) is available at:
https://cr.openjdk.org/~gbierman/jep512/latest/ Feel free to contact me directly or on this list with any comments/corrections. Thanks, Gavin On 17 Apr 2025, at 13:07, Mark Reinhold <mark.reinh...@oracle.com> wrote: https://openjdk.org/jeps/512 Summary: Evolve the Java programming language so that beginners can write their first programs without needing to understand language features designed for large programs. Far from using a separate dialect of the language, beginners can write streamlined declarations for single-class programs and then seamlessly expand their programs to use more advanced features as their skills grow. Experienced developers can likewise enjoy writing small programs succinctly, without the need for constructs intended for programming in the large. - Mark