- 2 spaces per indentation level, no tabs
- Use whitespace to make the code more readable
- No whitespace at the end of a line (trailing whitespace)
- Try to adhere to a 80 character line length limit
- No Unicode
- Spaces after commas
- Use lower case with underscores for method names, for example,
prime_decomposition
instead ofprimedecomposition
andbasis_matrix
instead ofbasismat
. - Use upper camel case convention for type names