this post was submitted on 07 Oct 2025
79 points (98.8% liked)

Programmer Humor

27193 readers
996 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
[โ€“] Gladaed@feddit.org 4 points 3 weeks ago (1 children)

It's literally the only way to do this. Other ways include checking of loads of bools. That's slow.

[โ€“] bss03 3 points 3 weeks ago

In C maybe. In language that support proper recursion schemes, the apomorphism models the early-exit loop.