this post was submitted on 13 Jan 2026
121 points (89.5% liked)

Programmer Humor

28669 readers
1733 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
 

A wife tells her programmer husband: β€œGo to the store and buy a gallon of milk. If they have eggs, get six.”

He comes back with six gallons of milk. When she asks why, he replies: β€œThey had eggs".

you are viewing a single comment's thread
view the rest of the comments
[–] eager_eagle@lemmy.world 3 points 1 week ago (1 children)

any language that allows ternary conditionals

[–] dnick@sh.itjust.works 1 points 5 days ago

Those would all start with the if, followed by two conditions, not a statement and then an if. There would be a condition to evaluate, followed by then/else?