C++
Make sure that your text editor is properly configured to use spaces instead of tabs.
Filenames
Filenames should be all lowercase and words are separated by underscores ( _ ). For instance:
Class Names
Class names should be nouns in UpperCamelCase, i.e. the first letter of every word capitalised. Use whole words and avoid acronyms or abbreviations (unless the abbreviation is much more widely used than the long form, such as SVM or ROS).
Function Names
Regular functions have mixed case. The first word (which is usually a verb) starts with lowercase and the remaining words follow the CamelCase practice. For instance:
Variable Names
Variable names are all lowercase, with underscores between words. Class member variables have trailing underscores. For instance:
Last updated
Was this helpful?