Programmer Humor

32430 readers
1089 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
1
 
 
2
 
 
3
 
 
4
 
 
5
 
 
6
 
 

Jim pondered aloud one morning to his wife, "Why do you always cut off the ends of sausages when you cook them?"

His wife replied, "I learned that from my mother. If you're interested, ask her yourself."

Intrigued, Jim sought out his mother-in-law and posed the same question: "Why do you always cut off the ends of sausages when cooking them?"

She responded, "I don't know, my mother taught me that. If you're curious, call her."

Determined to uncover the mystery, Jim dialed up and inquired: "This is Jimmy, your granddaughter (my wife) and your daughter (my mother-in-law) always cut off the ends when cooking sausages, saying that you taught them. What's the point?"

To this, she replied, "Are you still using my little saucepan to cook those sausages?"

7
 
 
8
 
 
9
 
 
10
 
 
11
 
 
12
 
 
13
 
 
14
 
 
15
 
 
16
 
 
17
 
 
18
19
 
 

^.?$|^(..+?)\1+$

Matches strings of any character repeated a non-prime number of times

https://www.youtube.com/watch?v=5vbk0TwkokM

20
 
 
21
 
 
22
 
 
23
 
 
24
 
 
25
 
 
view more: next ›