15 comments

16

// 20051207 temporary fix

9

One of my favorites, from Linux 1.0:

IBM designers who came up with it should be shot.

9

I once encountered a comment where a programmer confessed his love to some girl with a shitty poem. It wasn't that special by itself, but the funny part was that it was either committed by accident, or he changed his mind and he quickly tried to remove it again. Too bad, because what's in the repository stays in the repository...

7

"Ya the comments your looking for aren't here neither was my bonus."

Friend of mine told me he put that in an ap he wrote.

3

While technically not comments, this guy's while loops.
https://bitcointalk.org/index.php?topic=196313.0
https://bitcointalk.org/index.php?topic=366546.0

while ( 'the answer to life the universe and everything' != '41'){

while ( 'miaviator' != 'uncool'){

2

In a past life as a developer we had an issue that caused the software to instantly crash without warning or even an error message. We had no idea what steps caused it, but it happened to our customers enough that we heard about it.

Eventually we were able to get an error message to show up rather than just a straight shutdown. The programmer who was working that issue made the message say something like:

"Error 51: Please call (programmer's desk phone #) for assistance with this issue."

2 phone calls later from customers he was able to identify the steps that caused the crash, and fix the issue. "Error 51" was our own inside joke as it was a play on "Area 51" since the crash was so mysterious.

1

Code from a colleague:

% The following setting should never be 0
setting=0;
0
0

"CallProc32W is insane. It's a variadic function that uses the pascal calling convention. (It probably makes more sense when you're stoned.)" from Windows 2000 source code leak.

0
0

From SAP engineers in SAP source back in 2005-ish:

What does this do?

0
// I know this looks bad, but trust me. It'll work.
0

From the 3com 3c501 network driver linux source (3c501.c):

This is a device driver for the 3Com Etherlink 3c501.
Do not purchase this card, even as a joke.  It's performance is horrible,
and it breaks in many ways.
The driver is less efficient than it could be. It switches through
receive mode even if more transmits are queued. If this worries you buy
a real ethernet card.