this post was submitted on 20 May 2026
1093 points (100.0% liked)
Programmer Humor
31506 readers
1505 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
UUUuuuuuh, I am not a programmer (you're going to say "thank god"), but...
I sometimes even chain them. You can put yet another ternary operator in the else and keep going. You know, else-if.
So anyway, I can get ternary operators spanning 2 - 3 lines.
Oh, I also often have issues thinking of proper loops, so you'd see a few terribly used
gotostatements.Although I do remove ones that are obvious brain fart.
For example, quite obvious
Well, I've already had my brain goof up even that once or twice. "How the fuck", you're asking?
The brain-fart if-else.
You need another goto end right before the end_false_if:, otherwise the false code will always run
Dear lord lmao