Here are some suggestions from Elements of Programming Style:
* Make sure all variables are initialized before use.
* Don't stop at one bug (there are always more).
* Initialize constants in the DATA DIVISION; initialize variables
* with executable code.
* Watch for off-by-one errors.
* Test programs at their boundary values.
* Program defensively.
Friday, January 29, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment