I think "Coding Style" should contained the follow parties.
- Format Style
The format of codes, just like rules for:
- Indenting
- Spacing
- Alignments
- Newlines
- Positioning
- Line Splitting
- Blank lines
- etc
- Naming Convention
All those names just as function name, class name, variant name, if they are matched to camel case or pascal case, etc.
- Coding Rules
Some rules to force programmer not to do or must to do during coding.
For example :
Do not allow use assign operator "=" during "if" condition !
# Wrong if(a = 12) { ... } # Right if(a == 12) { ... }
- Version Control System Rules
Some rules about how to write a commit comment.
Comments !