I found an interesting easter egg in some production code...

slugg

Diamond Member
Feb 17, 2002
4,723
80
91
The source will not be named... But this is hilarious!

Code:
io.OpType = DataTools.OpTypes.DirectInLineDataOperation;

D:

When you see it, you'll shit bricks.
 

PricklyPete

Lifer
Sep 17, 2002
14,582
162
106
I get the DILDO part...but seems unintentional unless I'm missing more of it or missed the joke entirely.
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,836
4,815
75
I am really bad about avoiding accidental references like this. I named my PrimeGrid sieves "ppsieve" and "tpsieve", and didn't notice the "pp" and "tp" until somebody pointed it out to me. So I'm guessing it's completely unintentional.

Edit: "PP" stands for Proth Prime, and "TP" for "Twin Prime", in case you were wondering.
 
Last edited:

Train

Lifer
Jun 22, 2000
13,599
90
91
www.bing.com
I once had to fix an app written by a team in India. They didn't get a lot of western references, and mispelled things alot. Some were comical. My favorite was when they had to reference an associated product, and every product belonged to a manufacturer. They commonly abbreviated manufacturer as man, and associated as ass, and what we would normally call ID, they would use "code" So all over the code base there were references to AssCode AssMan, AssManCode, etc.

I can't remember the exact comment in the source, but me and a coworker were ROFL when we read one along the lines of "Put the collection of AssParts into the AssMan's bucket"
 

EvilManagedCare

Senior member
Nov 6, 2004
324
0
0
A couple years ago in a CS class we were discussing linked lists I think and there was a need to get the head pointer of the list. The professor vigorously began to write 'getHead' on the blackboard but then seemed to catch himself and named it something else without anyone else seeming to have realized nearly transpired.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
The source will not be named... But this is hilarious!

Code:
io.OpType = DataTools.OpTypes.DirectInLineDataOperation;

D:

When you see it, you'll shit bricks.

Mildly entertaining find, but I can't imagine that much thought was put into that name.
 

Phantomaniac

Senior member
Jan 12, 2007
268
0
76
I once had to fix an app written by a team in India. They didn't get a lot of western references, and mispelled things alot. Some were comical. My favorite was when they had to reference an associated product, and every product belonged to a manufacturer. They commonly abbreviated manufacturer as man, and associated as ass, and what we would normally call ID, they would use "code" So all over the code base there were references to AssCode AssMan, AssManCode, etc.

I can't remember the exact comment in the source, but me and a coworker were ROFL when we read one along the lines of "Put the collection of AssParts into the AssMan's bucket"

That made my day.