this post was submitted on 13 Jan 2026
122 points (89.6% liked)

Programmer Humor

28922 readers
2015 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
[–] CanadaPlus 5 points 2 weeks ago* (last edited 2 weeks ago)

Skill issue. Used an implied "of them", which is idiomatic in the language, but forgot to update the value of "them" first. Without that, taking the first value is compliant with the standard.

/s, but only if we assume us programmers have common sense. ^/s^