BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

Programming Joke

I though everyone could use a joke to break up the day, so enjoy Smiley Happy

 

 

A wife asks her husband, a computer programmer; "Could you please go to the store for me and buy one carton of milk, and if they have eggs, get 6!"

A short time later the husband comes back with 6 cartons of milk.

The wife asks him, "Why the hell did you buy 6 cartons of milk?"

He replied, "They had eggs."

 

Smiley Very Happy

Cory K
Message 1 of 29
(13,710 Views)

Why would milk cartons have eggs in the first place? 😄

Message 2 of 29
(13,707 Views)

I get 2 compiler errors with this instructions. Robot Very Happy

 

Shopping joke.PNG

 

Felix

Message 3 of 29
(13,692 Views)

 

Spoiler

def GoToStore:

if eggs in store:

milkCartons = 6

 else:

milkCartons = 1

 return milkCartons

 

 That should do the trick Smiley Very Happy (sorry, should have used LabVIEW)

 

 

Cory K
0 Kudos
Message 4 of 29
(13,688 Views)

My first version was also text based. First line was:

GOTO Store

 

Smiley Very Happy

 

Felix

Message 5 of 29
(13,678 Views)

There are only 10 kinds of people in this world: those who know binary and those who don’t.

Regards,
Even
_________________________________
Certified LabVIEW Associate Developer

Automated Test Developer
Topro AS
Norway
Message 6 of 29
(13,188 Views)

When working second shift for DEC back in the 80's I called a customer who said;

 

"I am so gald you called! I have a tape* stuck in my disk drive and can't get it out."

 

Ben

 

* Tape an ancient form of backup media that ranged from paper with holes punched in it to a flexble substrate with ferous material coating the surfce in which magnetic domains recorded ones and zeros. Just thought I shoud add that for the younger readers. Smiley Tongue

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 29
(13,173 Views)

@cory K wrote:

I though everyone could use a joke to break up the day, so enjoy Smiley Happy

 

 

A wife asks her husband, a computer programmer; "Could you please go to the store for me and buy one carton of milk, and if they have eggs, get 6!"

A short time later the husband comes back with 6 cartons of milk.

The wife asks him, "Why the hell did you buy 6 cartons of milk?"

He replied, "They had eggs."

 

Smiley Very Happy


 

This most excellent joke reminds me of some evolutionary grafetti we had in Pittsburgh. On a bridge abutment someone painted;

 

Free Larouch!

Kill Satan!

 

A latter modification turned it into;

 

To Do List

1) Free Larouch!

2) Kill Satan

3) Bring home eggs.

 

And then again there was the one liner from the early days of convieince stores that went;

 

"What do you mean you are out of milk, eggs, and cigarettes ?! What kind of gas station is this?"

 

One more comes to mind which is of the same form as the joke and comes from (I believe) one of the books of the Kings  (maybe 2) where Jerusalem was under seige by the Serians (?) and they were out numbered 100 to 1. The Serian side of the story alludes to a plague or something similar but the King james translation reads (almost verbatem);

 

"And the next morning when they woke up, they were all dead." 

 

Ben

 

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 29
(13,169 Views)

@Ben wrote:

 

One more comes to mind which is of the same form as the joke and comes from (I believe) one of the books of the Kings  (maybe 2) where

 

Ben


2 Kings 19:35 🙂
http://www.biblegateway.com/passage/?search=2+Kings+19%3A35&version=KJV
Message 9 of 29
(13,124 Views)

@Hornless.Rhino wrote:

@Ben wrote:

 

One more comes to mind which is of the same form as the joke and comes from (I believe) one of the books of the Kings  (maybe 2) where

 

Ben


2 Kings 19:35 🙂
http://www.biblegateway.com/passage/?search=2+Kings+19%3A35&version=KJV

That's it!

Makes me giggle every time I read it.

 

Asyrians.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 10 of 29
(13,099 Views)