Coding Style

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

Jump to navigation Jump to search

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