2 ms·
A common theme here seems to be that as an engineer you are discouraged or disallowed for doing things that are too "clever". This is something I approve of. Ot
by sliverstorm 14y ago
A common theme here seems to be that as an engineer you are discouraged or disallowed for doing things that are too "clever". This is something I approve of. Other people need to maintain your code after all.
"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
- tikhonj 14y agoOf course, if you can debug it, it means you could be solving a harder problem ;). And harder problems are more fun, even if you can't quite get the solution to work.
- sliverstorm 14y agoThat's an awful game plan. If you can't debug it, chances are you aren't going to be solving it, unless you reliably write bug-free code on the first try.