this post was submitted on 06 Jul 2025
38 points (83.9% liked)

Programmer Humor

24874 readers
581 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 3 days ago (1 children)

Actually, in Java 24 it's:

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

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