While debugging display diagnostic information
such as time at each time step or the value of variables used in boolean
expressions.These display commands
can be commented out after the program is debugged.
Save time, use a low number of iterations for
Make sure your error checking works and is
Test all possible inputs, especially empty
Have a colleage try to run your program after
you have finished. This is know as Beta testing.
DEBUG EACH FUNCTION or SUBROUTINE AS YOU FINISH
“Too many times we must break people of their
bad "academic" one-off coding practices to work on our
codes.Since we release public
codes, it is far more important for us to have clean, robust and reliable