3 ms·
"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
by dcminter 18y ago
"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
I'm a Java developer - naturally I think Gosling (for the most part) drew the lines in the right places.
- nradov 18y agoWell I don't know about that. There have been a few times that I wrote code as cleverly as possible because I couldn't find a simpler way. And then when I found defects later I was able to debug it, although that took a while.
- gaius 18y agoWhen I write code as cleverly as possible it's easier to debug, 'cos I've played knifey-spoony before!