Programming Jokes: Lame, Science & Math Jokes!

  • Thread starter Thread starter Wrichik Basu
  • Start date Start date
  • Tags Tags
    Jokes Programming
Click For Summary
SUMMARY

This forum discussion centers around programming jokes, highlighting various humorous anecdotes related to coding, syntax, and developer experiences. Participants share classic jokes, such as the confusion between Halloween and Christmas due to programming logic, and the challenges of using CSS properties like font-size. The conversation also touches on the importance of syntax in programming languages, with references to C and Java, and the humorous implications of coding errors and misunderstandings.

PREREQUISITES
  • Understanding of CSS properties and units (e.g., px, em)
  • Basic knowledge of programming languages such as C and Java
  • Familiarity with common programming concepts like syntax and debugging
  • Awareness of programming humor and its cultural significance in developer communities
NEXT STEPS
  • Explore advanced CSS techniques for responsive design
  • Learn about debugging tools in JavaScript
  • Research the history and evolution of programming languages like C and Java
  • Investigate the role of humor in software development and team dynamics
USEFUL FOR

Software developers, programmers, and anyone interested in the lighter side of coding and programming culture.

Wrichik Basu
Science Advisor
Insights Author
Gold Member
Messages
2,180
Reaction score
2,690
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   Reactions: stebe, scottdave, mcastillo356 and 1 other person
Physics news on Phys.org
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
1667593914235.png
 
  • 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!"
 
  • Like
Likes   Reactions: 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   Reactions: DaveC426913, Grelbr42, Al-Layth and 6 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   Reactions: BillOnne, KingGambit and Wrichik Basu
  • #15
Can't forget the classics.
The Project.jpg
 
  • Like
  • Haha
  • Love
Likes   Reactions: sbrothy, pinball1970, berkeman and 10 others
  • #16
I've had to refurbish a few of these over the years.
BugFix.png
 
  • Like
  • Haha
Likes   Reactions: sbrothy, PhDeezNutz, BillOnne and 4 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.
 
  • Like
  • Haha
Likes   Reactions: sbrothy, mathwonk and harborsparrow
  • #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   Reactions: 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   Reactions: harborsparrow and 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 grammar.
 
  • Like
Likes   Reactions: 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   Reactions: Hornbein
  • #24
Working my way through some old code-related jokes...

Low-Orbit Ion Cannon.jpg
 
  • Like
Likes   Reactions: harborsparrow, 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   Reactions: 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   Reactions: AlexB23, Not anonymous, NTL2009 and 1 other person

Similar threads

  • · Replies 416 ·
14
Replies
416
Views
42K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K