-
CamelCase:- Types (start with capitals):
MyClass; - Functions (start with lower case):
myMethod;
- Types (start with capitals):
-
snake_case:- Variables:
my_variable;
- Variables:
-
Constants are all capital:
const int SIZE = 10;
Use _ prefix for private members and methods: _my_private_field;
There should be a test for every implemented feature.