October 4, 2004 fun

Brian Kernighan on Debugging

I saw this in an email from John Mason in PSS today:

Debugging is twice as hard as writing the code in the first place.  Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.”
–Brian Kernighan