this post was submitted on 13 Dec 2025
648 points (97.6% liked)

Programmer Humor

28009 readers
1167 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
[–] ArbitraryValue@sh.itjust.works 87 points 1 week ago (1 children)

The advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.

[–] ronigami@lemmy.world 13 points 1 week ago (1 children)

That’s only one advantage. In theory it does not necessarily terminate, so that’s another one.

[–] joshchandra@midwest.social 2 points 1 week ago (1 children)

In ~~theory~~ hypothesis

To get pedantic, you'd have to test that out a whole bunch before even coming close to theory level, lol!

[–] ronigami@lemmy.world 3 points 1 week ago

We already have a theory for it— called computer science.