this post was submitted on 26 Jul 2025
872 points (99.0% liked)

Programmer Humor

25311 readers
158 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
[–] grrgyle@slrpnk.net 4 points 1 day ago

An infinite loop used to be such a rank code smell back when I was a junior, specifically because I was a noob and made giant loops like 50 lines long and invariably didn't plan the exit condition right, and then my computer would lock up and I would have to hard power cycle.

But yeah, now it's it's a totally acceptable little pattern imho.