Lots of UDP jokes, the variant I was told is: What is the best thing about telling a UDP joke? You don't care if anyone gets it.
Ask HN: Anyone know any funny programming jokes?
311–320 of 905 posts
Re: Ask HN: Anyone know any funny programming jokes?
#312My favourite: "What do we want?" "Now!" "When do we want it?" "Fewer race conditions!"
Time Travel!
When do we want it?
Doesn't matter!
Re: Ask HN: Anyone know any funny programming jokes?
#313This is an oldie (I first heard it in the 80s) but is one of my all time favorites. While it can be told about any two classes of people it really applies to a lot of code I encounter: A physicist is showing a thermos to her friend, a programmer. "It's amazing", she said. "You put a cold drink inside and regardless of how hot it is outside the drink stays cold". The programmer is suitably impressed. "But that's not a…
Could you share an example of this? I could be misinterpreting this but say you're building a survey system and you need to keep track of answer types (e.g. text, date, etc) and the answer itself, how can you collapse that into one field?
class ReadingMaterial:
is_magazine = False
def is_periodical():
return is_magazine
Using a base class (e.g. a Magazine and a Book class, or something) and inheritance, is much clearer than monkeying around with state.Re: Ask HN: Anyone know any funny programming jokes?
#314How many IBM employees does it take to change a light bulb? Fifteen. Five to do it, and ten to write document number GC7500439-001, Multitasking Incadescent Source System Facility, of which 10% of the pages state only "This page intentionally left blank".
Re: Ask HN: Anyone know any funny programming jokes?
#315Earlier quoted context omitted.
In my car, I have to disconnect the battery when the cheap 30$ Chinese radio freezes.
Put a toggle switch somewhere in the cabin and splice it between the car radio power wires and the battery. So you can easily reboot the radio without having to mess around under the hood.
Then again, a new $30 radio would be slicker still.
Re: Ask HN: Anyone know any funny programming jokes?
#316Earlier quoted context omitted.
Al Gore was ridiculed for saying he invented the Internet (he didn't say that). The rest of the joke is playing off of that and then punning with his name.
To be fair Gore claimed he 'took the initiative in creating the internet'. His choice of words were not good I think.
Re: Ask HN: Anyone know any funny programming jokes?
#317This is an oldie (I first heard it in the 80s) but is one of my all time favorites. While it can be told about any two classes of people it really applies to a lot of code I encounter: A physicist is showing a thermos to her friend, a programmer. "It's amazing", she said. "You put a cold drink inside and regardless of how hot it is outside the drink stays cold". The programmer is suitably impressed. "But that's not a…
https://smile.amazon.com/But-How-Know-Principles-Computers/d...
Re: Ask HN: Anyone know any funny programming jokes?
#318“Once upon a time, a baby bear asked his mama to tell him a story about recursion, the mama bear started reading:
...””
Re: Ask HN: Anyone know any funny programming jokes?
#319I think I saw this on reddit years ago: Programmer's wife: "when you go to the store, can you buy a carton of milk and if they have eggs, get six." He comes back with 6 cartons of milk. Wife: "why would you buy six cartons of milk?" "Well, they had eggs"