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

Eirik Bjørsnøs eirbjo at gmail.com
Thu Nov 14 21:47:41 UTC 2024


On Thu, Oct 24, 2024 at 4:50 PM Gavin Bierman <gavin.bierman at oracle.com>
wrote:

> What this JEP is proposing is a new sort of compilation unit. In the draft
> spec we call this a “simple" compilation unit, to contrast with “ordinary”.
> As no human says the phrase “compilation unit”, but rather everyone
> informally speaks of “source files”, we ended up calling these new sorts of
> source files “simple”.
>

 I guess this ship has sailed, but..

I just watched Gavin's Language Futures talk from Devoxx, and realized I
would have preferred the adjective "implicit" used in JEP-477 over
"simple". "Implicit" implies a class without an explicit class declaration,
whereas "simple" implies everything and nothing at once.

Cheers,
Eirik,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20241114/3841b06e/attachment.htm>


More information about the amber-dev mailing list