Programming jokes thread

500 replies · 64K views · last reply
An oldie but a goodie: Why do programmers confuse halloween and Christmas? Because 31OCT == 25DEC.
 
  • Like
  • Wow
Likes   Reactions: sbrothy, Beyond3D, KingGambit and 8 others
Meme of a hybrid creature with a kangaroo-like tail and a greyhound-like head, labelled "My code". Above it, three photos are labelled "Some random blog" (a kangaroo), "GitHub" (a greyhound) and "Stackoverflow" (a rat).
 
  • Like
  • Haha
Likes   Reactions: sbrothy, harborsparrow, AlexB23 and 4 others
What do you call it when a story goes round a stable time loop and returns to its own beginning?

Tale recursion.
 
  • Like
Likes   Reactions: mcastillo356 and Wrichik Basu
CSS properties are pretty flexible and browser renderers can be pretty accommodating. For example, the font-size property can accept a few different units of measurement, including px and em.

You have to be careful with them though.

I once meant to specify a font-size of 12px and accidentally typed 12pc and suddenly my text was 40 light years tall.

(OC)
 
Last edited:
  • Haha
  • Like
Likes   Reactions: sbrothy, KingGambit, Not anonymous and 4 others
As a rapid prototype developer, I am often asked to whip up demonstrations of applications for the benefit of execs to help them grasp a new feature concept.

The tricks I use are often illusions - the web equivalent of smoke and mirrors - to make it look almost like magic.

That why it's called a Poof of Concept.(OC)
 
  • Like
Likes   Reactions: sbrothy, PhDeezNutz and Wrichik Basu
Why does it take programmers so long to wash their hair?
Because on the shampoo bottle it says "Lather, rinse and repeat".
 
  • Like
  • Haha
Likes   Reactions: PhDeezNutz, KingGambit, Ibix and 2 others
Q: How do you comfort a JavaScript bug?
A: You console it.
 
  • Like
  • Haha
Likes   Reactions: Beyond3D, KingGambit, TonyStewart and 3 others
From a college drinking song:

An MIT computer man got drunk one fateful night
He opened up the console and smashed everything in sight
When they finally subdued him, the judge he stood before,
Said, "Lock him up for twenty years, he's rotten to the core!"
 
C:
typedef state enum { off, on };

union {
    int        x;
    double y;
    state    state;
}u;

What is &u.state ? [? is not an operator here, just a question mark.]

It's been 20 years, so my syntax may lack.
 
Last edited by a moderator:
Vanadium 50 said:
From a college drinking song:

An MIT computer man got drunk one fateful night
He opened up the console and smashed everything in sight
When they finally subdued him, the judge he stood before,
Said, "Lock him up for twenty years, he's rotten to the core!"
Now that's old school. That's funny, "core memory" passed through my mind yesterday.
 
Wrichik Basu said:
This is kind-of true. Faced it myself...

View attachment 316744
I get this sort of thing all the time on physicsforums. I ask a question. If they don't know the answer they say it's a dumb question.
 
  • Sad
  • Haha
  • Like
Likes   Reactions: BillOnne, KingGambit and Wrichik Basu
Can't forget the classics.
Ten-panel cartoon of the classic tree swing project joke: a customer's swing idea goes wrong at each stage, ending with a tyre swing as what the customer really needed.
 
  • Like
  • Haha
  • Love
Likes   Reactions: sbrothy, pinball1970, berkeman and 10 others
I've had to refurbish a few of these over the years.
Two-panel meme: top panel shows a well-kept suburban house with the caption 'Client: Can you fix this bug for me?' and 'No problem, let me take a look at the code ^.^'; bottom panel shows a cluttered, dilapidated room with the caption 'MOTHER OF GOD.' Top caption reads 'What I deal with as a Web Dev on a daily basis portrayed as a house.'
 
  • Like
  • Haha
Likes   Reactions: sbrothy, PhDeezNutz, BillOnne and 4 others
Hornbein said:
C:
typedef state enum { off, on };

union {
    int        x;
    double y;
    state    state;
}u;

What is &u.state ? [? is not an operator here, just a question mark.]

It's been 20 years, so my syntax may lack.
I don't get this one - can you explain? I think the syntax is wrong (although I could be wrong myself - my C is extremely rusty). Either the syntax error or my rust may be obscuring the punchline.
 
I saw this on a computer in 1967. As far as I can recall it was exactly the same.

ACHTUNG! Alles touristen und non-technischen peepers!
Das machine control is nicht fur gerfinger-poken und mittengrabben. Oderwise is easy schnappen der springenwerk, blowen fuse, und poppencorken mit spitzensparken.

Der machine is diggen by experten only. Is nicht fur geverken by das dummkopfen. Das rubbernecken sightseenen keepen das cotten picken hands in das pockets, so relaxen und watchen das blinkenlights.
 
  • Like
  • Haha
Likes   Reactions: sbrothy, mathwonk and harborsparrow
Ibix said:
I don't get this one - can you explain? I think the syntax is wrong (although I could be wrong myself - my C is extremely rusty). Either the syntax error or my rust may be obscuring the punchline.
It's a riddle.

It's a state of the union address.
 
The link that's been in my signature for years has lots of seriously evil suggestions for writing code that is sure to be a bane to others who follow.
How To Write Unmaintainable Code
 
  • Like
Likes   Reactions: harborsparrow and Ibix
What do you call a code that doesn’t parse?

A prograren’t.

What do you call a coder who isn’t a professional?

A non-pro grammar.
 
  • Like
Likes   Reactions: Wrichik Basu and Ibix
Working my way through some old code-related jokes...

Motivational-poster style image of a grey sci-fi spacecraft in orbit above Earth, firing a cyan beam down toward a coastline, with the caption LOW-ORBIT ION CANNON and a line of text beneath it.
 
  • Like
Likes   Reactions: harborsparrow, AlexB23 and Hornbein
Borg said:
Working my way through some old code-related jokes...

View attachment 316791
I guess programmers are not very intelligent. Certainly their elementary English grammar needs tutorial help...
 
Last edited:
Photo of a white device labelled SUPERCODER 2000, with the caption 'Air cooled coding keyboard for professional use.' It has vent slots, a Done key and two keys marked 0 and 1, sitting on a wooden surface.
 
  • Like
Likes   Reactions: AlexB23, NTL2009, Jonathan Scott and 3 others
berkeman said:
I guess programmers are not very intelligent. Certainly their grammar needs tutorial help...
I guess I'm in the same category. I'm not seeing the grammatical error.
 
Borg said:
I guess I'm in the same category. I'm not seeing the grammatical error.
Adjective vs. adverb. If submitted to a compiler it would generate an error. Ironic.
 
berkeman said:
Adjective vs. adverb. If submitted to a compiler it would generate an error. Ironic.
Should be badly instead of bad?
 
Meme of a man seated at a folding table outdoors with a sign reading "Linux isn't magic, it's sudo science." and "CHANGE MY MIND" printed below.
 
  • Like
Likes   Reactions: AlexB23, Not anonymous, NTL2009 and 1 other person