Maintenance programming requires telepathy

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com, or follow me on Twitter.

I’m cleaning up old code and I come upon this:

/*
* Sanity…
*/
if( $this->timer < 1 ) $this->timer = 1;

I wonder why they did this? And why do they write “Sanity”?

Sometimes, when I do maintenance programming, on code written by another programmer, I feel like an archeologist, trying to imagine what bizarre rites these long ago people were engaged in when they wrote these cryptic remarks.

Source