|
|
|
|
|
by cryptos
828 days ago
|
|
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 these 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 that `main` is just like any other function. |
|