-
Notifications
You must be signed in to change notification settings - Fork 0
Code conventions
acasimiro edited this page Aug 28, 2012
·
14 revisions
Here are the code conventions used in komoo project.
PLEASE FOLLOW THEM!
The golden rule on naming programming objects (i.e. classes, variables, styles, functions, etc.) using more generic components firsts. Where, namely, the components are: category > entity > action > identification.
Examples:
- class Formlist
Obs.: This is valid for code itself, but not for the folders structure, which are organized by flask blueprints (same idea as django like apps)
- Indendation: 4 spaces PEP-8
- Indendation: 2 spaces
- Indendation: 2 spaces
- Indendation: 4 spaces