Difference between revisions of "Irc logs of meeting (Coding style and standards) - oop344 20113"

From CDOT Wiki
Jump to: navigation, search
(Created page with '=== Indentation === * No Tab Character allowed. (replace tabs with 2 spaces) * 2 spaces for indentation === Blocks === <big><syntaxhighlight lang="cpp"> if(condition) { whatever…')
(No difference)

Revision as of 16:36, 17 October 2013

Indentation

  • No Tab Character allowed. (replace tabs with 2 spaces)
  • 2 spaces for indentation

Blocks

if(condition) {
 whatever;
}

Variable Naming

  • Each object must have its own type

Class Naming

  • Use the class name for the name of the file but make sure it is all lowercase