Very similar to C++ STL standard, with exception for the compound variables and properties. The uppercasing of compound variables and props make it easier to see and separate between variables and functions.
These rules apply to HTML and CSS too, but with dash instead of low-dash.
// Path, namespace, table
// Lowercase, similar to URL
my_namespace
// Class
// Lowercase, generic nouns
my_class
// Method
// Lowercase, verbs in text
my_method
// Primitive properties
// Lowercase, maths single value
my_primitive
// Compound properties
// Camelcase, maths compound value
My_Compound
// Constant
// Uppercase, similar to digit block letters.
MY_CONSTANT
4 spaces (not tabs)80 chars120 chars100 lines100 funcsSuggested colouring