Code style

From PioneerWiki
Revision as of 21:16, 27 June 2013 by RobN (talk | contribs)
Jump to: navigation, search

Tabs & spacing

  • Hard tabs, 4-space aligned.
  • Inner spaces after tabs to align arguments on multiple lines, etc

Constants

  • Prefer static const over #define wherever possible

Name style

  • Classes: FooBar
  • Methods: FooBar
  • Class members: m_fooBar
  • Static members: s_fooBar
  • Constants: FOO_BAR