Dear experts: The first draft of a spec covering JEP 495: Simple Source Files and Instance Main Methods is available:
https://cr.openjdk.org/~gbierman/jep495/latest/ Feel free to contact me directly or on this list with any comments. Thanks Gavin On 22 Oct 2024, at 16:37, Mark Reinhold <[email protected]> wrote: https://openjdk.org/jeps/495 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. This is a preview language feature. - Mark
