Next: No Implicit Typing
Up: Using DO Loops
Previous: Common Questions
You've been told in your programming assignments and lessons that
style is important, but perhaps you've been wondering what ``good
style'' means for a FORTRAN program.
There are certain things that lend to good style in a FORTRAN program:
- No implicit typing (i.e. IMPLICIT NONE statement)
- Good choices for variable names
- Commenting the FORTRAN source code
- Clear and understandable output and prompts for users
- Indentation
- PARAMETER statements for named constants
Let's take a look at each one of these and discuss why they are
considered part of good style.
Next: No Implicit Typing
Up: Using DO Loops
Previous: Common Questions
Hamlet Project
hamlet@cs.utah.edu