Difference between revisions of "OOP344 20131 - Team A"
(Undo revision 93878 by Benjamin Snively (Talk)) |
(→PROJECT STYLE) |
||
Line 21: | Line 21: | ||
*Indentation | *Indentation | ||
**TAB is defined as two spaces. | **TAB is defined as two spaces. | ||
+ | |||
+ | |||
+ | *Header Guards | ||
+ | |||
+ | **Author's initials | ||
+ | |||
+ | **Two leading and trailing underscores | ||
*Blocks | *Blocks |
Revision as of 21:24, 12 February 2013
Team A
CONTACTS
First Name | Last Name | Team Name | Section | Seneca Id | wiki id | IRC nick | GITHUB ID | Blog URL |
---|---|---|---|---|---|---|---|---|
Benjamin | Snively | Team A | B | bssnively | Benjamin Snively | UltraVioletLabel | UltraVioletLabel | The Art Of Goto |
Ken | Zhou | Team A | B | fjzhou | Fen Jian Zhou | noobiedev | noobiedev | www.noobiedev.com |
Lucas | McIntosh | Team A | B | lhmcintosh | Lucas Hugh Mcintosh | Zardvark | Zardvark | Lucas' Chronic Misadventures in Technology |
Daniel | Hamilton | Team A | B | dhamilton6 | Daniel Hamilton | dhamilton6 | dhamilton6 | Dan's Seneca Blog |
PROJECT STYLE
- Indentation
- TAB is defined as two spaces.
- Header Guards
- Author's initials
- Two leading and trailing underscores
- Blocks
- Left parenthesis is on the declaration line
- type funct(...){
- Left parenthesis is on the declaration line
- Variable Naming
- Camel Case with first letter lower case.
- functions
- primitives
- namespaces
- class attributes (with leading underscore)
- Camel Case with first letter upper case.
- class and struct declarations
- objects
- Camel Case with first letter lower case.
for instance:
switch(value) {
case 1: doSomething();
case 2: doSomethingElse(); break;
default: doDefaultThing();
}