Re:Java 21: No more public static void main
by exabrial on Monday June 05, 2023 @12:15PM
(#36198501)
I'd vote no on most of these for Java language itself; it's supposed to be a C-like language, not a Ruby-like language. However, the jvm doesn't care what the source language is, it just cares about bytecode. These belong in a Kotlin or other language.
[ Parent
| on HN ]
Re:Java 21: No more public static void main
by Aaron2222 on Monday June 05, 2023 @05:50PM
(#36204388)
A lot of these are no-gos anyway from a backwards compatibility perspective (many of which being entirely syntactical), and they're already in Kotlin, so I'm not sure why you wouldn't just use that. A couple I could potentially see making their way into Java though.