Versions Compared

Key

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

This page describes the common coding style we apply in the SNAP project.

Java

We use a slight modification of the IntelliJ IDEA default coding style which has been used for the majority (if not all) BEAM code. In IDEA create the SNAP coding style as follows or copy SNAP.xml into ${home}/.IntelliJIdea14/config/codestyles.

...

Use fully qualified import statements (avoid wildcard '*'):

Python

Adhere to PEP-8!