Earlier quoted context omitted.
Depending on the language the ampersand could mean by copy or by reference. I suspect the commentor wants by reference, since they want to examine it later.
> Depending on the language the ampersand could mean by copy or by reference Yikes. Which languages use ampersand to signal passing by value? That's a massive footgun if I'm ever cargo-culting my way through writing some code in one of those languages for the first time.
Ask HN: Anyone know any funny programming jokes?
641–650 of 905 posts
Re: Ask HN: Anyone know any funny programming jokes?
#642Earlier quoted context omitted.
0 if the bottle is empty. 1 if its hot. -1 when its cold :D
Ah yes the triple-boolean
Re: Ask HN: Anyone know any funny programming jokes?
#643Re: Ask HN: Anyone know any funny programming jokes?
#644This 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…
Love the joke, but to me it points to something else than gratuitous state variables. I think of it as "if all you have is a hammer, everything looks like a nail", with the hammer being "procedurally solving problems".
Re: Ask HN: Anyone know any funny programming jokes?
#645Earlier quoted context omitted.
> ask the blonde waitress an integral I know this is a fun thread, but in real life you could have serious problems if you tell this kind of jokes. To my fellow downvoters: I hate it as much as you do.
Well, the joke is a play on those gender stereotypes, the blonde waitress clearly knows much more then even the optimistic mathematician expects. The butt of the joke here is the university system and the jobs market.
Re: Ask HN: Anyone know any funny programming jokes?
#646C'est un administrateur système qui reconfigure ses variables d'environnement et paf le chemin. I tell it like I am someone serious but a bit dumb who thinks it's really funny and is too stupid to see how dumb this is. Only work in French and I set up the stage by being me at the beginning and telling it in front of programmer or it people and non it people so IT people have to confirm it's stupid and the joke is in…
I don't get it. Is it simply funny (in an absurd way) because of the usual "Paf le X" french jokes, or is there something more to it ?
What usually happens is the IT guys look at me, sighing and non verbally confirm to non-IT people that the joke is way too stupid and geeky to explain.
Re: Ask HN: Anyone know any funny programming jokes?
#647There's an old Joel on Software one related to string concatenation: Shlemiel gets a job as a street painter, painting the dotted lines down the middle of the road. On the first day he takes a can of paint out to the road and finishes 300 yards of the road. "That's pretty good!" says his boss, "you're a fast worker!" and pays him a kopeck. The next day Shlemiel only gets 150 yards done. "Well, that's not nearly as go…
Nice plot twist. I thought this one was going to be about optimizing the work that has to be done for one kopeck.
Re: Ask HN: Anyone know any funny programming jokes?
#648Earlier quoted context omitted.
> ask the blonde waitress an integral I know this is a fun thread, but in real life you could have serious problems if you tell this kind of jokes. To my fellow downvoters: I hate it as much as you do.
Seems very unlikely? This joke is obviously punching up instead of punching down. Feel like a lot of people worried about cancel culture have some kind of bogeyman in their head that doesn't reflect reality at all. Even if that wasn't the case: the niche nature of the joke protects you against global outrage
Re: Ask HN: Anyone know any funny programming jokes?
#649"NOW!"
"ASYNC FUNCTIONS!"
"When Do We Want It?"
Re: Ask HN: Anyone know any funny programming jokes?
#650Earlier quoted context omitted.
> ask the blonde waitress an integral I know this is a fun thread, but in real life you could have serious problems if you tell this kind of jokes. To my fellow downvoters: I hate it as much as you do.
Did you stop reading then? Because the actual joke is that even the guy that thought the average person numerate stereotyped her as dumb and was wrong. An absurd example of a 'blonde joke' to object to if you're going to.