Why do programmers always mix up Halloween and Christmas?

Q: Why do programmers always mix up Halloween and Christmas?
A: Because Oct 31 == Dec 25!


This is not an occupational joke, although one would expect it to be based on the setup. The joke - to be understood requires the listener to recognize Oct and Dec to mean Octal and Decimal.

Octal is a base 8 counting scheme (with numbers 0,1,2,3,4,5,6, and 7) just as Decimal is a base 10 counting scheme (with numbers 0,1,2,3,4,5,6,7,8, and 9). Both counting schemes can be used to represent any number, however programmers tend to be more aware of different number bases (because they regularly need to convert to hexadecimal and binary as a part of their work), so programmers would be expected to recognize why this joke is funny.

The punchline: Oct 31 == Dec 25 is actually true if you read Oct as octal, and Dec as decimal. 3*8+1 equals 2*10+5.

The taking of Oct and Dec and reading them out of context as octal and decimal is the critical element of the joke.

Comments

Labels

bar misunderstanding unexpected knock knock Christmas programming definitional bad dad anti-humor talking animals failed expectation political irony black elephant language onomatopoeia Biden deconstruction disability literal math airplane ambiguous grammar lie dark false assumption garden path occupation rude self denigrating canadian internet explorer knowledge mass culture physics slapstick illogical misfortune put-down racist surprise animal bathroom humor contradiction english funny setupless shaggy dog stupid toilet humor alcoholic aptronym black humor board game body humor cat depression dog famous person impulse control insinuation juxtaposition meta nationalist pop culture punchlineless speech problems surprised pikachu Halloween Karen Lord of the Rings archetype breaking behavior dissonance blonde cheese chicken circular confirmation coronavirus covid-19 death deliberate dissonance fake punchline fish hyperbole hypocrite implied punchline inappropriate joke lazy light-bulb mispronounce monday obama obscure old pessimism photoshopped pirate plumber portmanteau repetitive sad but true sarcastic self referential spelling star wars stealth stereotype suspended disbelief talking food technology troll untellable violence weird whiplash work your mother Disney Pavlov Perl accent accident adage advertisement allusion anakin skywalker anti-pun audience participation bald bash biology booger call and response chemistry clown context covid current events date dated delusion difference doge drug duck electrician emo evil cat face bomb faces false dichotomy fantasy fat fear fickle forgetful fourth wall breaking garbage man generational gesture gif gorillas greedy harry potter hippie historical history idiom immature insultnsult jargon lettuce library linguistic long macabre made up words media mental illness mexico mistake mondegreen name-calling nazi numbers one-liner paradox pedantic pokemon poker face prank call pretentious prison protests punctuation purple prose rap reverse roll safe science sickness spiderman spoonerism straight man subversion suicide surreal swear swearing talking objects thinker true typo unpronounceable unstated vegan visual winter work humor written only wrong zoo
Show more

More jokes