this post was submitted on 06 Jul 2025
37 points (83.6% liked)

Programmer Humor

24815 readers
169 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 7 points 1 day ago (1 children)

Actually, in Java 24 it's:

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

[โ€“] Akagigahara@lemmy.world 2 points 1 day 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?