Coding Style

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.

Align multiple method call parameterers:

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

Python

Adhere to PEP-8!