Changes

Jump to: navigation, search

Team G - OOP344 - 20132

308 bytes added, 14:47, 18 June 2013
Variable Naming
=== Variable Naming ===
<syntaxhighlight lang="cpp">
int main(){
int a = 1;
char* bookNames;
char bookId
return 0;
}
</syntaxhighlight>
 
* Try to avoid abbreviations unless very well known please:
<syntaxhighlight lang="cpp">
int main() {
int letterCount // Good
int numCount // Good
int ltrCnt // Bad
 
int numErrors // Good
int n // Bad - unknown meaning
int nerr // Bad - ambiguous
}
</syntaxhighlight>

Navigation menu