The Ten Commandments
- English is compulsory
- Lines are never more than 80 characters wide
-
Spaces after commas (green, eggs, and, ham) and around operators
(i = i + 1)
- Indentation is four spaces per level, 8 level for continuation
- Constants must be in BLOCK_CAPITAL_WITH_UNDERSCORE
- Class names must be in CamelCase
-
Variables, methods and functions must be lowercase_with_underscore
-
Protected module level variable must be _lowercase_with_underscore
-
Private module level variable must be __lowercase_with_underscore
- Use i, j, k and so on for temporary and disposable variable