Next: 3. Class Reference
Up: 2. Developpers guide
Previous: 2.1.5 Plugins
- C++ style (like Java style, except method names start with capital)
- Classes and function names start with capital letters, no ``
_
''. Like: ThisIsAClass
- Brackets newline for each bracket. Such as:
void MyFct(int arg)
{
if(something)
{
Say("Hello!");
}
}
- Variables start with lower case.
- Try to make names explicit, even if they are long (avoid abbreviations).
- Try to write a
static void Test()
function for every class.
Exception to style:STL uses other style conventions. Certain objects directly related to STL equivalents, such
as iterators, use the STL conventions.
Marcel Bosc
2002-07-17