Difference between revisions of "OOP344 20131 - Nevi"
(→Programming Styles) |
(→Programming Styles) |
||
Line 26: | Line 26: | ||
* '''Indentation''' | * '''Indentation''' | ||
2 spaces for each level | 2 spaces for each level | ||
+ | |||
* '''Blocks''' | * '''Blocks''' | ||
if(){ | if(){ | ||
Line 32: | Line 33: | ||
} | } | ||
− | * '''Variable Naming.''' | + | * '''Variable Naming''' |
+ | _nameOfVar for data members | ||
+ | |||
+ | nameOfVar for local variables | ||
+ | |||
+ | |||
+ | |||
+ | no speical characters in variable (e.g. '_') | ||
+ | |||
+ | single characters variable names (e.g. 'i', 'j', 'k') for loops only | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | * '''Misc''' |
Revision as of 22:28, 13 February 2013
Contents
Nevi
Members
First Name | Last Name | Team Name | Section | Seneca Id | wiki id | IRC nick | GITHUB ID | Blog URL |
---|---|---|---|---|---|---|---|---|
Bo | Li | Nevi | B | bli64 | Bo Li | Kelan | Nelain | Meta-OOP344 |
Ran | Li | Nevi | B | rli64 | Ran Li | ranli | RanLii | 22yue6 |
Zhenyang | Chen | Nevi | B | zchen91 | Zhenyang Chen | crans | crans | Leash |
Repository
Programming Styles
- Indentation
2 spaces for each level
- Blocks
if(){ } else{ }
- Variable Naming
_nameOfVar for data members
nameOfVar for local variables
no speical characters in variable (e.g. '_')
single characters variable names (e.g. 'i', 'j', 'k') for loops only
- Misc