<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
See “Can’t we go further?” In <a href="https://openjdk.org/projects/amber/design-notes/on-ramp" class="">https://openjdk.org/projects/amber/design-notes/on-ramp</a>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Apr 12, 2023, at 4:47 PM, Eric Bresie <<a href="mailto:ebresie@gmail.com" class="">ebresie@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class="">If
I’m missing something sorry up front but…</span>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<br class="">
</div>
<div style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
Wouldn’t the simplest for beginners be just a java file with the initial expression leaving off the main all together?
<div class=""><br class="">
</div>
<div class="">Say</div>
<div class=""><br class="">
</div>
<div class="">(1) </div>
<div class="">System.out.println(“Hello World”);</div>
<div class=""><br class="">
</div>
<div class="">(2) There exists the static initialization block alternatively</div>
<div class=""><br class="">
</div>
<div class="">static {<br class="">
</div>
<div class=""> System.out.println(“Hello World”);<br class="">
</div>
<div class="">}</div>
<div class=""><br class="">
(3) Or even some sort of annotation or meta data file as to where to start?</div>
<div class=""><br class="">
</div>
<div class="">(4) Or some lambda derivative like</div>
<div class=""><br class="">
</div>
<div class="">()-> System.out.println(“Hello World”);</div>
<div class=""><br class="">
<div id="sig_jyoX5rSM" class="">Eric Bresie
<div class=""><span dir="ltr" style="color: inherit !important; text-decoration: none !important;" class=""><a href="mailto:Ebresie@gmail.com" class="">Ebresie@gmail.com</a></span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>