The Ten Commandments

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