It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure

"It should be noted that no ethically-trained software engineer would ever consent to write a DestroyBaghdad procedure. Basic professional ethics would instead require him to write a DestroyCity procedure, to which Baghdad could be given as a parameter." - Nathaniel Borenstein

The humor in this joke lies in the failed expectations of the reader. The reader is assuming that the ethics that the programmer is trained in are the same ethics that all of the rest of humans use, things like "Don't kill people", or "Be nice to people".

Instead the jokester is talking about coding ethics, which includes (among other, more normal ethical concerns) coding best practices, which are sets of rules that when followed will allow the software engineer to produce quality code in a manner that is fast and consistent.

The statement is not entirely deceptive, however any normal person wouldn't recognize where it was going until it got there. Therein lies the humor.

Comments

Labels

colloquial knock knock unexpected misunderstanding Christmas programming definitional bad dad talking animals anti-humor failed expectation political irony elephant language Biden black deconstruction literal math onomatopoeia disability grammar ambiguous garden path lie occupation rude self denigrating canadian dark internet explorer mass culture physics slapstick illogical knowledge put-down racist surprise animal bathroom humor contradiction english false assumption funny toilet humor aptronym board game body humor depression dog famous person impulse control insinuation juxtaposition meta misfortune nationalist pop culture punchlineless setupless shaggy dog speech problems stupid surprised pikachu Halloween Karen Lord of the Rings airplane archetype breaking behavior dissonance black humor blonde cat cheese chicken circular coronavirus death deliberate dissonance fake punchline fish hyperbole hypocrite implied punchline joke lazy light-bulb mispronounce obama obscure old pessimism photoshopped pirate plumber portmanteau repetitive sad but true sarcastic self referential spelling star wars 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 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 long macabre made up words media mexico mistake monday mondegreen name-calling nazi numbers one-liner paradox pedantic pokemon prank call pretentious prison protests punctuation purple prose rap reverse roll safe science spiderman stealth straight man subversion suicide surreal swear talking objects technology thinker true typo unpronounceable unstated vegan visual weird whiplash winter work humor written only wrong zoo
Show more

More jokes