Difference between revisions of "OOP344 20131 - Team A"

From CDOT Wiki
Jump to: navigation, search
(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 22:24, 12 February 2013

Team A

CONTACTS

EMAIL TEAM

OOP344 - Winter of 2013 TEAM A MEMBERS
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(...){
  • 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


for instance:

switch(value) {

 case 1:
   doSomething();
 case 2:
   doSomethingElse();
   break;
 default:
   doDefaultThing();

}