Actually… since around Java 21, it’s just
void main() { println("Hello World"); }I vaguely remember hearing this this was only really available for toy code and that this function created the class ignored the arguments and qualified println when you compiled it, so it wasn’t actually that useful?
Printing to console is often only used for toy code anyway.
Wait, how do you debug your code?
… with a debugger
Meh
Using a debugger?
Guess you could do that, seems like a pain though
???
In more detail, this feature was included as a preview in Java 21 and officially adopted in Java 25.
Does python run on 3 billion devices?
At this point… yeah, probably so.
I mean, assuming the env and dependencies aren’t totally fucked.
I was only joking, because I’m only tired of this print joke java vs X. But I think you’re probably right, especially regarding the python deps and envs.
On one hand, I heard it’s a consistency thing.
On the other hand, do java people write a seperste static singleton class for their isEven function?






