New candidate JEP: 495: Simple Source Files and Instance Main Methods (Fourth Preview)

Mark Reinhold mark.reinhold at oracle.com
Tue Oct 22 15:37:24 UTC 2024


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


More information about the amber-dev mailing list