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.



bar misunderstanding unexpected knock knock Christmas programming definitional bad dad anti-humor talking animals failed expectation irony political airplane lie black dark elephant language onomatopoeia Biden deconstruction disability literal math ambiguous grammar self denigrating false assumption garden path misfortune occupation rude canadian internet explorer knowledge mass culture physics slapstick illogical put-down racist surprise animal bathroom humor contradiction english funny punchlineless sarcastic setupless shaggy dog stupid toilet humor alcoholic aptronym black humor board game body humor cat covid-19 death depression dog famous person hyperbole impulse control insinuation juxtaposition lazy meta nationalist one-liner photoshopped pop culture sad but true speech problems stealth surprised pikachu Halloween Karen Lord of the Rings archetype breaking behavior dissonance blonde cheese chicken circular confirmation coronavirus dated deliberate dissonance fake punchline fat fish hypocrite implied punchline inappropriate joke light-bulb mispronounce monday obama obscure old pessimism pirate plumber portmanteau prank call repetitive self referential spelling star wars stereotype suspended disbelief swearing talking food technology troll unstated untellable violence weird whiplash work your mother 2020 Disney Pavlov Perl accent accident adage advertisement allusion anakin skywalker anti-pun audience participation bald bash beat panel biology blunt booger call and response chemistry clown context covid current events date defeatist delusion difference divorce doge drug duck electrician emo escalation evil cat face bomb faces false dichotomy fantasy 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 pain paradox pedantic petty phrase subversion pokemon poker face pretentious prison protests punctuation purple prose rap reverse rhyme roll safe science sickness spanish spiderman spoonerism straight man subversion suicide surreal swear talking objects thinker true twisted tea typo unpronounceable vegan visual who would win winter work humor written only wrong zoo
Show more

More jokes