Programming Jokes: Lame, Science & Math Jokes!

  • Thread starter Thread starter Wrichik Basu
  • Start date Start date
  • Tags Tags
    Jokes Programming
AI Thread 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.
  • #51
1668677643944.png
 
  • Haha
Likes DaveC426913
Physics news on Phys.org
  • #53
1668677741861.png


Sidenote: I started with QBASIC in school for three years, then moved on to Java (using BlueJ) for the next four years. For the last two years, I shifted to NetBeans at home, and that was a great boost to knowledge as I could quickly view documentation for every function and class. I think it is a good idea to start with languages like Java, where blocks are delimited by braces, rather than languages where an extra space can screw up your whole code, unless you are using an IDE.
 
  • #54
No Pascal?
 
  • #55
DrClaude said:
No Pascal?
He was under time pressure.

(Sorry, I know that's a physics joke.)
 
  • Haha
  • Wow
Likes Not anonymous, berkeman, Wrichik Basu and 1 other person
  • #56
Ibix said:
He was under time pressure.

(Sorry, I know that's a physics joke.)
Lame jokes need no further categorizing :smile:
 
  • #57
DrClaude said:
No Pascal?
No, I didn't learn Pascal. BASIC → Java. Thereafter, MATLAB + Python (latter in college, primarily for numerical computation in physics). Side by side Android, MySQL, and some basics in C for Arduino.
 
  • #58
Wrichik Basu said:
No, I didn't learn Pascal. BASIC → Java. Thereafter, MATLAB + Python (latter in college, primarily for numerical computation in physics). Side by side Android, MySQL, and some basics in C for Arduino.
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.
 
  • Like
Likes Wrichik Basu and berkeman
  • #59
DrClaude said:
I wasn't talking about you (why would you have learned Pascal?), but referencing the chart you posted.
Can we do write-in options?

Pascal - thought it was Wirth it.
 
  • Haha
Likes Not anonymous and DaveE
  • #60
DrClaude said:
No Pascal?
Ibix said:
He was under time pressure.
Coincidentally, we have a new member who joined today, @Pascal pressure :smile:
 
  • Like
Likes Wrichik Basu
  • #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.
 
  • #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
  • #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
  • #93
1671121287412.png
 
  • Like
  • Haha
Likes collinsmark, pbuk, Bandersnatch and 4 others
  • #100

Similar threads

8
Replies
386
Views
37K
Replies
7
Views
3K
Replies
17
Views
5K
Replies
1
Views
6K
Replies
14
Views
13K
Back
Top