122

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
[-] Shady_Shiroe@lemmy.world 79 points 4 months ago

I like this joke better:

Wife asks her husband if he is too obsessed with his work and if he even he loves her anymore. He assures her that in a list of things he loves the most, she is number 1 on that list. She was satisfied with the answer.

[-] Australis13@fedia.io 23 points 4 months ago

He's safe if he works in MATLAB or other languages that use one-based indexing. He's a dead man if she works out most lists are zero-based.

[-] lambipapp@lemmy.world 14 points 4 months ago

I work in Lua. I always start my tables on 'dinosaur'

[-] ulterno@programming.dev 4 points 4 months ago

He'll make sure until death that his wife doesn't figure that out.

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

Programmer Humor

31733 readers
1627 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 3 years ago
MODERATORS