On Thu, May 05, 2011 at 09:54:28AM +0000, Greg Comeau wrote: > > Some more food for thought: > > "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, > definition, not smart enough to debug it." --Brian Kernighan >
With a caveat: when one is really clever, one finds "the shortest path to the truth" i.e. the simplicity; this means that really clever guys make programs easy to debug because these are the simplest ones doing the job. In Brian Kernighan's sentence, s/cleverly/sophisticatedly/ (this is probably a barbarism, but in french "sophistiqué" is pejorative: obfuscation, convoluted etc.). -- Thierry Laronde <tlaronde +AT+ polynum +dot+ com> http://www.kergis.com/ Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C