Changes between Initial Version and Version 1 of FpCodingStandard


Ignore:
Timestamp:
May 22, 2014, 8:15:58 AM (10 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FpCodingStandard

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