Naming and Capitalization
- Always use UpperCamelCase for the names of classes.
- Always use underscore_case for the names of variables and functions.
Encapsulation
- Prefer functions to properties, for performance's sake.
- Place all code for a class within its init function. Look at the tutorial Web Browser for an example.