Re: Wasted Space and Kernighan

2008-10-07 Thread Brian Stern
"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 W. Kernighan Personally I find debugging to be half as hard as writing the code in the first plac

Re: Wasted Space and Kernighan

2008-10-07 Thread Colin Barrett
On Tue, Oct 7, 2008 at 7:30 AM, Bill Mutch <[EMAIL PROTECTED]> wrote: > Even a general conclusion is not valid unless by 'clever' he means > intentionally obtuse. I'm willing to give bwk the benefit of the doubt. I assumed he was giving a warning against cleverness for cleverness's sake, which is

Re: Wasted Space and Kernighan

2008-10-07 Thread Bill Mutch
First let me say that the views expressed by Michael Ash are almost identical to mine. However, I have to take issue with the often quoted statement of Kernighan on debugging. "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as