You are viewing a single comment's thread.

view the rest of the comments →

0
10

[–] Unleeb 0 points 10 points (+10|-0) ago  (edited ago)

I have two that come to mind:

First one was a piece of software used to simulate some military hardware interface. Since I do not have access to the code anymore, this is a recreation from memory:

// The following code is sub-par. We know. There have been several
// attempts to improve the code, but all attempts have failed. To warn
// future brave souls, increase the counter when you admit defeat.
//
// Defeated souls count: 17
...

And another one, which I merely have observed on the Internet (Edit: As pointed out by Enemby; this one is from xkcd):

int random() {
    return 4; // chosen by fair dice roll; guaranteed to be random
}

0
2

[–] Enemby 0 points 2 points (+2|-0) ago 

the 2nd one is from xkcd.

0
0

[–] Unleeb ago 

How could I not remember that?!