News for hackers. Stuff that matters.
Re:Java 22 Released by cryptos on Wednesday March 20, 2024 @04:12AM (#39763869)
This is nice for beginners, but the confusion is only postponed, because then you'd have to learn why you need to write a class as a container for static methods and that theses methods must be static. So, the Java developers created another special case in the language.

Compare that with Kotlin where you have top-level functions, so `main` is just like any other function.

There are no comments on this comment yet.