Next:
Begin all class and
Up:
General Naming Conventions
Previous:
File Names
 
Contents
Class Names
The class naming conventions are identical to the file naming conventions. See Table
for examples.
It is easier to remember complete words rather than some awkward abbreviation of a word such as Window: Wnd, Wn, Wind, etc.
Use mixed case rather than underscores to separate words in names. Always capitalize the first letter.
Do not invent plurals for collections of objects. Use the proper plural, this way it is more easily remembered.
For C++ code the classname shall be identical to the file name.
Begin all class and struct names with C or a unique identifier.
Table:
Class naming conventions
Use
Do not use
VeVector
vec
VeVectorIterator
vecitr
VeListIterator
List_Iterator, Listiterator, listiterator
VeBigVector
bigVector, Big_Vector, bigvector
VeAxes
Axiss
VeWindows
WindowCollection
Falko Kuester 2001-08-24