Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here we define a basic style guide to enforce some consistency for new code added to the  E3SM-ECP repository. The guidance for working with old, inherited code has always been to match the existing style. Our The goal is to maximize readability of new code. This is motivated by the wasted hours/days that many of us have experienced trying to follow the style of other developers when tracing old code and reviewing new pull requests.

Note:  If you would like to convert old code to follow this style, do that in a separate development.  Do not mix it with other feature development because it will complicate review.

Table of Contents

Modern language features (classes)

...