this post was submitted on 11 Nov 2025
568 points (97.5% liked)

Programmer Humor

27422 readers
1644 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
[–] sunoc@sh.itjust.works 11 points 1 week ago (2 children)

It’s C, but the unusual look of having two semicolons is the reason why I prefer it over while (True). It feels more like “here is the weird part”.

[–] embed_me@programming.dev 5 points 1 week ago* (last edited 1 week ago)

And the rare

do { /*loop*/ } while(1);

[–] toynbee@lemmy.world 2 points 1 week ago (1 children)

Gotcha, thank you. I mostly code in bash or python.

[–] TwilightKiddy@programming.dev 4 points 1 week ago

Well...

for ((;;))
do
  # stuff
done