Saturday, February 11, 2012

Comments in source code

Honest comments:
// I'm sorry.
// Dear future me. Please forgive me.
// I can't even begin to express how sorry I am.
// I am not sure why this works but it fixes the problem.
// When I wrote this, only God and I understood that I was doing
// Now, God only knows
// If I from the future read this I'll back in time and kill myself.
// I am not sure if we need this, but too scared to delete.
// I am not responsible of this code.
// They made me write it, against my will.
// I dedicate all this code, all my work, to my wife, Darlene, who will
// have to support me and our three children and the dog once it gets
// released into the public

Friday, February 3, 2012

Goto statements...

How Projects Really Work


The above image dates from the late 1960’s, in the days before faxes and emails. Photocopies were distributed by hand and the message was simple: interact with the customer, find out what the customer wants and resist adding unnecessary features, unworkable variations and complex implementations. Apply the KISS principle, ensure adequate oversight and have the various persons and departments involved work with each other.

Since then the image has been updated to reflect more advanced times and greater technology, which in turn have allowed even greater opportunities for foul ups and an end product quite different from what was sought. The following is an updated image, but the message remains the same:


Since than two new cells have been added with more on the way: