Difference between revisions of "Irc logs of meeting (Coding style and standards) - oop344 20113"
Euihoon Seol (talk | contribs) (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…') |
(→Blocks) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Indentation === | === Indentation === | ||
− | * No Tab Character allowed. (replace tabs with | + | * No Tab Character allowed. (replace tabs with 4 spaces) |
− | * | + | * 4 spaces for indentation |
+ | |||
=== Blocks === | === Blocks === | ||
<big><syntaxhighlight lang="cpp"> | <big><syntaxhighlight lang="cpp"> | ||
if(condition) { | if(condition) { | ||
− | + | whatever; | |
} | } | ||
</syntaxhighlight></big> | </syntaxhighlight></big> | ||
+ | |||
=== Variable Naming === | === Variable Naming === | ||
* Each object must have its own type | * Each object must have its own type | ||
=== Class Naming === | === Class Naming === | ||
* Use the class name for the name of the file but make sure it is all lowercase | * Use the class name for the name of the file but make sure it is all lowercase |
Latest revision as of 23:00, 22 October 2013
Indentation
- No Tab Character allowed. (replace tabs with 4 spaces)
- 4 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