Whats the object-oriented way to become wealthy?

Q: "Whats the object-oriented way to become wealthy?"
A: Inheritance

This is another programming joke. To understand this joke you have to understand at least a little bit about object oriented programming. There is an object oriented programming technique called inheritance, which is a mechanism that allows one class to take on behavior or information from another class (the one that it is inheriting from).

The joke is that the word inheritance is also a word that means (approximately) "things that someone receives from a deceased person after the death of that person". People think that when you receive an inheritance, that you will become wealthy, because the most common time that people talk about inheritances is in regards to people that have become wealthy by inheriting things from people.

In effect this joke is a pun that requires domain specific knowledge to understand.

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