The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
Brian KernighanTrivia rarely affect efficiency. Are all the machinations worth it, when their primary effect is to make the code less readable?
Brian KernighanSome compilers allow a check during execution that subscripts do not exceed array dimensions. This is a help, but not sufficient. First, many programmers do not use such compilers because They're not efficient. (Presumably, this means that it is vital to get the wrong answers quickly.)
Brian KernighanDebugging 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