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;

All the different IPs

/* woohoo! fun, I have no clue how to get
 * the correct IP, so I just send forward
 * queries with all the different IPs */

Never use NAT with IPv6

/**
 * The only reason for using NAT is a lack of addresses.
 * IPv6 does not suffer from a lack of addresses. If I
 * find that anyone is using NAT with IPv6, I would break
 * their kneecaps and poke their eyes out with sharp
 * sticks. I don't really want to go to jail though, so
 * instead, I'll spare myself the effort of support nat
 * traversal magic when IPv6 is involved in hopes this will
 * cause boneheads who would try to use IPv6 NAT to give up
 * since so many things will stop working. I'm sick of
 * working around all of the problems that NATs introduce.
 */

Bastard Operator From Hell

/* 
 * It's a backup day today, so I'm pissed off.  
 * Being a BOFH, however, does have it's advantages...
 */

Drunk programming

/**
 * ps. i’m really drunk at moment if you didnt notice
 * and i am having problems typing. drinking vodkaa.
 * with friends while watching exocides. expect 3 of 5
 * of us have fallen asleep on flloor. So ummm. I’m here
 * coding. Man I’m typing well at moment. excuess me
 * fro any really bad coding styles I may while in this state
 */

Don’t try this at home

/* These macros are defined here because they can use
   variables defined in this function. Don’t try this at
   home kids, we’re trained professionals![…]*/
Page 4 of 41234