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

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

More jokes