Actually… since around Java 21, it’s just
void main() {
println("Hello World");
}
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?
Beyond that, in reality you would write logger.info() in both 99% of the time.
If you use Voyager on Firefox on Android, the last half-second is missing so you don't get the joke.
This appears:
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
and the hamster jumps very high
Thanks for posting that. I watched using mlem and the end was cut off as well, so I didn’t really get it.
Makes sense now. :)
Does python run on 3 billion devices?
At this point… yeah, probably so.
I mean, assuming the env and dependencies aren’t totally fucked.
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.