Difference between revisions of "OOP344 20131 - Nevi"

From CDOT Wiki
Jump to: navigation, search
(Programming Styles)
(Programming Styles)
Line 34: Line 34:
  
 
* '''Variable Naming'''
 
* '''Variable Naming'''
 +
 
   _nameOfVar for data members
 
   _nameOfVar for data members
 +
 +
 
     nameOfVar for local variables
 
     nameOfVar for local variables
 +
 +
 
   no special characters in variable (e.g. '_')
 
   no special characters in variable (e.g. '_')
 +
 +
 
   single characters variable names (e.g. 'i', 'j', 'k') for loops only
 
   single characters variable names (e.g. 'i', 'j', 'k') for loops only
  
  
 
* '''Misc'''
 
* '''Misc'''

Revision as of 21:31, 13 February 2013

Nevi

EMAIL US

Members

OOP344 - Winter of 2013 student list
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 special characters in variable (e.g. '_')


  single characters variable names (e.g. 'i', 'j', 'k') for loops only


  • Misc