<div dir="auto">I really disagree that this feature is a feature for beginners without value and "cannot be used once you learn oop properly".<div dir="auto">I don't see why you wouldn't be able to use the feature once you learn oop. As far as i understood one can have unnamed classes and other normal classes in the same project. Meaning you can have a file like Programm.java with the "void main() {}" in it in the root source folder and the packages, modules and classes besides it.</div><div dir="auto">It also makes scripts much easier to write in Java as one can just create a file MyScript.java with the main in it and launch it with "java MyScript.java".</div><div dir="auto">Both use cases have nothing to do with students. Fact is the entry point doesn't benefit from the class it's declared in. I would say this jep removes unnecessary restrictions from Java instead of adding unnecessary features. Java is the only language I know that has such a complicated entry point. Some languages let you start in the file directly or require to declare a main, start.. function. But no language but java requires all this class nonsense for the entry point.</div><div dir="auto"><br></div><div dir="auto">Great regards </div><div dir="auto">RedIODev </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 15, 2023, 19:40 Arne Styve <<a href="mailto:arne.styve@ntnu.no">arne.styve@ntnu.no</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="NO-BOK" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="m_1954148707831223535WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I recently came across this JEP, and was very surprised. Why on earth should you add features to a professional programming language just to apparently make it a bit easier for students and beginners
 to learn to code? And especially when the suggested feature has no real use (and cannot be used) once you learn to program OOP properly?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">I’ve been a SW-developer and manager for more than 20 years, and a teacher of OOP at University for 15 years, and have never, ever experienced that the public static void main(String[] args) have
 been remotely problematic for students in learning to program.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt">Please have this JEP terminated.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt"><u></u> <u></u></span></p>
</div>
</div>

</blockquote></div>