Skip to content

History / CAM Coding Standards

Revisions

  • Add new "should" rule on use statement scoping.

    @nusbaume nusbaume committed May 29, 2024
  • Add single line length limit to Fortran style guide.

    @nusbaume nusbaume committed May 19, 2023
  • Added standard stating that users should avoid un-necessary statements like blank returns at the end of subroutines.

    @nusbaume nusbaume committed Jan 27, 2023
  • Add new rule stating that physics grid variables must be dimensioned "pcols" during declaration.

    @nusbaume nusbaume committed Dec 13, 2022
  • Added rule about initializing local variables

    @gold2718 gold2718 committed Jul 7, 2022
  • Clarify need for a decimal point.

    @gold2718 gold2718 committed May 16, 2022
  • Add the use of the pure keyword to the Fortran standards.

    @nusbaume nusbaume committed Mar 17, 2022
  • Add statement about using pure attribute on functions.

    @gold2718 gold2718 committed Mar 3, 2022
  • Added TOC and new section to collect general standards (e.g., applicable to both Fortran and Python). Clarify use of comments.

    @gold2718 gold2718 committed Dec 29, 2021
  • Add rule for private interfaces

    @gold2718 gold2718 committed Dec 14, 2021
  • Started section on editor tips

    @gold2718 gold2718 committed Oct 25, 2021
  • Add a couple of python style items

    @gold2718 gold2718 committed Sep 22, 2021
  • Add character entry, move trailing spaces, fix typos

    @gold2718 gold2718 committed Sep 2, 2021
  • Add rules to prohibit use of tab character.

    @gold2718 gold2718 committed Jul 15, 2021
  • Add bullet stating that optional arguments must be passed via keyword in Fortran.

    @nusbaume nusbaume committed Jul 14, 2021
  • Clarified meaning of MUST and SHOULD

    @gold2718 gold2718 committed Apr 21, 2021
  • Forgot to move the module directives from NCAR

    Steve Goldhaber committed Oct 25, 2020
  • Moved CAM coding standards to ESCOMP and add link in workflow

    Steve Goldhaber committed Oct 25, 2020