??? 07/11/05 13:10 Read: times |
#97018 - clerical errors Responding to: ???'s previous message |
using automatic formatting aids - syntax highlighting/coloring, autoindenting, all that fancy silly stuff, helps you A LOT.
yes, those are great for catching clerical errors, and should, of course, be used. The point is, however, that while the average time to catch a clerical error should be minutes, the average to catch a fundamental/logical error is far more. That brings us back to the point that the most important debugging tool is "design". A properly designed program can be debugged with relative ease since it should only have clerical errors, a haphazardly put together program will be difficult to impossible to debug because it is likelky to be full of fundamental/logical errors. Erik PS: a definition clerical error: an error, the fixing of which, will not change the program structure/flow. |