* Naming conventions:
- Generalities:
- In general, names are constructued by using case change to indicate
+ In general, names are constructed by using case change to indicate
separate words, as in ImageDataSize (standing for "image data size").
- Underscores are not used. Variable names are chosen carefully with the
+ Underscores are not used. Variable names are choosen carefully with the
intention to convey the meaning behind the code. Names are generally
spelled out; use of abbreviations is discouraged.
[Note: abbreviation are allowable when in common use, and should be in
and not
T* foo = 0;
nor
- T * foo;
+ T * foo = 0;
- Assume T is a given type. When declaring or defining with the
"reference to T" notation, the & character must be adjacent to
the variable and not the type. That is use :