Some 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 KernighanDo what you think is interesting, do something that you think is fun and worthwhile, because otherwise you won't do it well anyway.
Brian KernighanThe most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
Brian KernighanGet the weirdnesses into the data where you can manipulate them easily, and the regularity into the code because regular code is a lot easier to work with
Brian Kernighan