News for hackers. Stuff that matters.
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.
Re:Java 21: No more public static void main by exabrial on Monday June 05, 2023 @11:19PM (#36207630)
Exactly my thoughts. Let Java be Java. It's not that I disagree with most of them I just don't think it needs to have every bell, whistle, and doodad either. Simplicity is beauty.
Re:Java 21: No more public static void main by Aaron2222 on Tuesday June 06, 2023 @02:16AM (#36208836)
No point completely reshaping Java into something that's already on the JVM anyway.