Difference between revisions of "Code style"
(Created page with "== Tabs & spacing == * Hard tabs, 4-space aligned. * Inner spaces after tabs to align arguments on multiple lines, etc == Constants == * Prefer <tt>static const</tt> over <...")
Revision as of 22:41, 26 June 2013
Tabs & spacing
- Hard tabs, 4-space aligned.
- Inner spaces after tabs to align arguments on multiple lines, etc
- Prefer static const over #define wherever possible
- Classes: FooBar
- Methods: FooBar
- Class members: m_fooBar
- Static members: s_fooBar
- Constants: FOOBAR