obelus csgo project by monthyx, skver & v5
- mixedCase
- Private member variables have
m_
prefix (e.g.m_varName
) - global vars have
g_
prefix (e.g.g_varName
) - static class vars have
s_
prefix (e.g.s_varName
) - no hungarian notation (it just clutters code + intellisense exists), instead use descriptive names (like
hasItem
orisVisible
for booleans)
- all upper case (e.g.
MY_CONSTANT
)
- CamelCase
- abstract classes have
Abstract
prefix (e.g.AbstractClass
) - interfaces have
I
prefix (e.g.IClass
)
- CamelCase
- snake_case
- extensions:
- header: .h
- source: .cpp