Skip to content

Coding Style

Man-Long Wong edited this page Jun 27, 2017 · 20 revisions

Programming language

We use Python 2 as the core programming language for the core modules.

Naming convection

It is recommended to use UpperCamelCase for class names, lowerCamelCase for methods and functions, CAPITALIZED_WITH_UNDERSCORES for constants, and lowercase_separated_by_underscores for other names.

Indentation

4 spaces of indentation, and no tab characters should be used.

Clone this wiki locally