| 1 | 1. Explain all variables you use in writing (as comment) |
| 2 | |
| 3 | 2. Comment all code |
| 4 | |
| 5 | 3. As much as possible, integer variables should have names starting |
| 6 | with i,j,k,l,m,n |
| 7 | |
| 8 | 4. Use indentations for loops, if-statements, etc. From start til end of |
| 9 | loop, all code lines should be indented by 2 spaces; nested loops should |
| 10 | have multiple indentations so that the looping level is always clear. |
| 11 | Because of automatic transcription to F90 standards, a lot of this has |
| 12 | been lost and we should try to reintroduce this whereever it has been lost. |
| 13 | |
| 14 | 5. Variables that are passed between subroutines should be marked in the |
| 15 | subroutine as input (i), output (o) or both (i/o) when values are |
| 16 | changed both in the subroutine and in other routines. This should be |
| 17 | done just below the subroutine statement. Again, this has become a mess |
| 18 | because of the automatic transcription. We will try to make it |
| 19 | systematic again. |
| 20 | |
| 21 | 6. If you make changes in a subroutine, explain them in the header: Why? |
| 22 | What? When? |