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.

  • #61
what's funny about it was that Pascal was to be learning language, but so many people came out that Pascal morphed into one of the programming languages with which to write a serious program.
 
Physics news on Phys.org
  • #62
DrClaude said:
I wasn't talking about you (why would you have learned Pascal?), but referencing the chart you posted. BASIC was my first language, but I would think that many of those who learned programming in the 1970's and 1980's would have started with Pascal.
Vic 20 had Basic.
IBM came out with a Basic interpreter as part of its software package along with DOS if you bought an IBM PC.
Apple came out with Basic.

A lot of home learners acquired Basic as the language of choice by default.
 
  • Like
Likes   Reactions: KingGambit and Wrichik Basu
  • #63
DaveE said:
Can you show us the handshaking protocols?
The IP layer involves an unreliable datagram delivery service rather than a reliable connection oriented delivery service such as TCP. As such, handshaking is not necessary.

See RFC 1149 for IP over Avian Carriers, RFC 2549 for IP over Avian Carriers with QoS and RFC 6214 for the IPv6 update.

See RFC 791 for the Internet Protocol.

Of some interest is the scheme for weighted fair queuing and the danger of excessive logging.

From https://www.rfc-editor.org/rfc/rfc2549:
Code:
Weighted fair queueing (WFQ) MAY be implemented using scales, as
   shown:

                                                  __
                                  _____/-----\   / o\
                                 <____   _____\_/    >--
                 +-----+              \ /    /______/
                 | 10g |               /|:||/
                 +-----+              /____/|
                 | 10g |                    |
                 +-----+          ..        X
               ===============================
                              ^
                              |
                          =========

   Carriers in the queue too long may leave log entries, as shown on the
   scale.
 
  • Haha
Likes   Reactions: Filip Larsen
  • #64
b7tos3vtz51a1.png
 
  • #69
1669058922240.png
 
  • Like
Likes   Reactions: Not anonymous, collinsmark and DrClaude
  • #70
person.jpg
 
  • Like
Likes   Reactions: Not anonymous, phinds, Wrichik Basu and 1 other person
  • #71
Not really a joke but still funny:

Did you know that ++[[]][+[]]+[+[]] evaluates to the string "10" in Javascript?
 
  • Like
  • Wow
Likes   Reactions: DrClaude, Wrichik Basu and Ibix
  • #72
1670273563693.png
 
  • Like
  • Haha
Likes   Reactions: sbrothy, 256bits, Ibix and 2 others
  • #74
jack action said:
Not really a joke but still funny
And/or horrifying. Yet strangely fascinating. I feel a bit like this is a prototype of the Enki virus from Snowcrash (Edit: Or was Inanna the virus and Enki the cure? Can't remember.)
jack action said:
Did you know that ++[[]][+[]]+[+[]] evaluates to the string "10" in Javascript?
So, trying to work this out: +[] is a trick where an empty list is coerced into a zero, right? So it's ++[[]][0]+[0]. And the zeroth element of the first list is an empty list, so it's ++[]+[0]. Then the increment operator coerces the empty list to a zero and adds one to it, giving 1+[0] which then turns into a "10" via string concatenation for some reason...?
 
  • #75
A developer's night is never complete without at least one "aha!" moment, and at least one "oh no!" moment.
 
  • Like
Likes   Reactions: Wrichik Basu
  • #76
1670280994179.png
 
  • Haha
  • Love
  • Like
Likes   Reactions: phinds, jack action, dlgoff and 1 other person
  • #78
I recall someone asking for confirmation that one is true and zero is false in C, to which some genius replied "1".
 
  • Like
  • Haha
Likes   Reactions: phinds, collinsmark, DrClaude and 5 others
  • #79
Ibix said:
I recall someone asking for confirmation that one is true and zero is false in C, to which some genius replied "1".
++0 would have been funnier... :wink:
 
  • Like
Likes   Reactions: Klystron and phinds
  • #80
1670317565579.png
 
  • Like
  • Haha
Likes   Reactions: Not anonymous, Ibix, BillTre and 2 others
  • #81
1670431177627.png
 
  • Like
Likes   Reactions: Ibix, 256bits, BillTre and 1 other person
  • #84
Speaking of memory.

Memories.jpg
 
  • Like
  • Haha
Likes   Reactions: Ibix, 256bits, jack action and 4 others
  • #87
1670684372756.png
 
  • Like
Likes   Reactions: Ibix, Borg, BillTre 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
4K
  • · 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