Programming Jokes: Lame, Science & Math Jokes!

In summary: An oldie but a goodie: Why do programmers confuse halloween and Christmas?What do you call it when a story goes round a stable time loop and returns to its own beginning?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.Why does it take programmers so long to wash their hair?Because on the shampoo bottle it says "Lather, rinse and repeat".Q: How do you comfort a JavaScript bug?A: You console it.From a college drinking song:An MIT computer man got drunk one
  • #1
Wrichik Basu
Science Advisor
Insights Author
Gold Member
2,147
2,719
We have threads on lame jokes and science jokes. But then, we also have a thread on bad math jokes. So, why not create one specifically for programming jokes?

Let me start:

 
  • Like
  • Haha
Likes stebe, scottdave, mcastillo356 and 1 other person
Physics news on Phys.org
  • #2
An oldie but a goodie: Why do programmers confuse halloween and Christmas? Because 31OCT == 25DEC.
 
  • Like
Likes KingGambit, scottdave, NTL2009 and 6 others
  • #3
1667593914235.png
 
  • Like
  • Haha
Likes AlexB23, Not anonymous, DrClaude and 2 others
  • #4
What do you call it when a story goes round a stable time loop and returns to its own beginning?

Tale recursion.
 
  • Like
Likes mcastillo356 and Wrichik Basu
  • #5
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 KingGambit, Not anonymous, Klystron and 3 others
  • #6
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 PhDeezNutz and Wrichik Basu
  • #7
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 PhDeezNutz, KingGambit, Ibix and 2 others
  • #8
Q: How do you comfort a JavaScript bug?
A: You console it.
 
  • Like
Likes KingGambit, TonyStewart, jack action and 2 others
  • #9
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!"
 
  • Like
Likes Ibix
  • #11
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:
  • #12
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.
 
  • #13
This is kind-of true. Faced it myself...

20220822_023108.jpg
 
  • Like
Likes Grelbr42, Al-Layth, Klystron and 5 others
  • #14
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 BillOnne, KingGambit and Wrichik Basu
  • #15
Can't forget the classics.
The Project.jpg
 
  • Like
  • Love
Likes AlexB23, Klystron, DaveE and 5 others
  • #16
I've had to refurbish a few of these over the years.
BugFix.png
 
  • Like
  • Haha
Likes PhDeezNutz, BillOnne, jack action and 3 others
  • #17
Borg said:
I've had to refurbish a few of these over the years.
View attachment 316787
I would say that this is normal. SNAFU.
 
  • #18
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.
 
  • #19
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.
 
  • #20
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.
 
  • Like
Likes Ibix
  • #21
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 Ibix
  • #22
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 grammer.
 
  • Like
Likes Wrichik Basu and Ibix
  • #23
Programmers with whom one works are co-programmers, spelt the same as copro-grammers. This explains why a lot of code is... bad.
 
  • Like
Likes Hornbein
  • #24
Working my way through some old code-related jokes...

Low-Orbit Ion Cannon.jpg
 
  • Like
Likes AlexB23 and Hornbein
  • #25
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:
  • #26
Super coder.jpg
 
  • Like
Likes AlexB23, NTL2009, Jonathan Scott and 3 others
  • #27
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.
 
  • #28
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.
 
  • #29
berkeman said:
Adjective vs. adverb. If submitted to a compiler it would generate an error. Ironic.
Should be badly instead of bad?
 
  • #30
LinuxSudoScience.png
 
  • Like
Likes AlexB23, Not anonymous, NTL2009 and 1 other person
  • #31
berkeman said:
I guess programmers are not very intelligent. Certainly their elementary English grammar needs tutorial help...
You're saying programmers aren't pro-grammar?
 
  • Like
Likes bob012345, berkeman and Borg
  • #32
DaveC426913 said:
That why it's called a Poof of Concept.
:oldeek: I'd have thought, in this day and age, that it would very politically incorrect to refer to your executives as gay.
 
  • Like
Likes PhDeezNutz and DaveC426913
  • #33
Hornbein said:
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.
Example pls?
 
  • #34
strangerep said:
Example pls?
I ain't going to make no trouble hea.
 
  • Like
Likes Wrichik Basu
  • #35
strangerep said:
Example pls?
Let's keep this out of the jokes thread. These issues should either be reported in the Feedback section, or in private conversation with the moderation team.
 
  • Like
Likes phinds

Similar threads

10
Replies
326
Views
30K
Replies
7
Views
2K
Replies
5
Views
2K
Replies
17
Views
4K
Replies
1
Views
5K
Replies
14
Views
13K
Back
Top