Everybody join in

// Make sure stdin is in binary mode.
// (I hate Microsoft... I hate Microsoft... 
// Everybody join in!)

I used some code

/*
  Last night I used some code that wasn’t there,
  This morning It wasn’t there either.
  Oh, how I wish it would stay...
*/

Passwords

## We don’t want people sending me their
## passwords when they report problems
## now do we :-)

Don’t watch movies during work

/*
 * The below code may answer the question:  "Should I try
 * to write programs while watching a James Bond movie?"
 */

Include³

/*
I hate to include an include inside an include (ha!) however,
I don’t see an easy way to get this to build right
*/

Why we do this

/*
this um causes a nasty crash ugly ugh i dont see *why* we
do this, everything seems fine without it.
*/

Stop coding while being drunk

/* Andy Church should stop coding while being drunk.
 * Here’s the two lines he forgot that produced the
 * timed_update evil bug and a *big* memory leak.
 */

Desperate Developer

/*
 * Give the desperate developer a clue of what is happening.
 */

Superhero

/* Holy cow, Batman! I found something! 
   Better save it for later use... */

Pointer swapping

/*
 * Yes, we can all get a headache from the next bunch
 * of pointer swapping...
 */
next           = current->next;
current->next  = next->next;
next->next     = current;
prev           = next;
Page 5 of 6« First...3456