Programming Jokes: Lame, Science & Math Jokes!

  • Thread starter Thread starter Wrichik Basu
  • Start date Start date
  • Tags Tags
    Jokes Programming
Click For Summary
The discussion revolves around the idea of creating a dedicated thread for programming jokes, building on existing threads for lame and science jokes. Participants share various programming-related jokes, highlighting the humor found in coding mishaps and the quirks of programming languages. Jokes include puns about common programming scenarios, such as confusing Halloween with Christmas due to coding syntax and humorous takes on debugging. The conversation also touches on the challenges of programming, with anecdotes about the complexities of coding languages and the frustrations of working with outdated or poorly written code. Additionally, there are discussions about the importance of clear communication in programming and the humorous misunderstandings that can arise in tech environments. Overall, the thread serves as a lighthearted space for programmers to share laughs while reflecting on their experiences in the field.
  • #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 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 Filip Larsen
  • #64
b7tos3vtz51a1.png
 
  • #70
person.jpg
 
  • Like
Likes 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 DrClaude, Wrichik Basu and Ibix
  • #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 Wrichik Basu
  • #76
1670280994179.png
 
  • Haha
  • Love
  • Like
Likes 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 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 Klystron and phinds
  • #84
Speaking of memory.

Memories.jpg
 
  • Like
  • Haha
Likes Ibix, 256bits, jack action and 4 others

Similar threads

  • · Replies 402 ·
14
Replies
402
Views
39K
  • · 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 14 ·
Replies
14
Views
13K
  • · Replies 22 ·
Replies
22
Views
4K