this post was submitted on 06 Jul 2025
40 points (83.3% liked)

Programmer Humor

25282 readers
535 users here now

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.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] ExLisper@lemmy.curiana.net 9 points 3 weeks ago (1 children)

Actually, in Java 24 it's:

void main() { println("Hello World"); }

[โ€“] Akagigahara@lemmy.world 3 points 3 weeks ago

Oh that's interesting. It kinda reminds me of the C# top level statements feature.

This still creates the function main in the normal way, right?