"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
I think about that quote when I'm writing code. Sometimes it helps me be more humble and take a "bear of little brain" approach. Which approach am I most likely to implement correctly? Which approach is most likely to remain correct if someone comes behind me and tinkers with my code?
I think about that quote when I'm writing code. Sometimes it helps me be more humble and take a "bear of little brain" approach. Which approach am I most likely to implement correctly? Which approach is most likely to remain correct if someone comes behind me and tinkers with my code?
ReplyDelete