Coding Style

Revision as of 16:18, 2 July 2016 by Mhan (talk | contribs) (iwu)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is an attempt to make a personal coding style. I'm deriving this from Linux Kernel coding style created by Linus Torvalds.

Indentation

  • 8 characters using tab character
  • per Torvalds, indentations shouldn't be more than 3 levels deep

Braces

  • opening braces on the same line as the initial line except for functions