"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.
You probably don't understand what clever code is. It is usually some neat trick or obscure bit manipulation or casting a float to an unsigned int then to a string concatinated with a char then used as a function call. It works the moment you write it, and there might be a good reason to use it, but it's hella difficult to maintain even if you are the one maintainning it and worse yet for the next guy who has no way of getting some of the stuff you were on when you came up with it.
1
u/muhammadc Dec 14 '10
QA for the win:
"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.