Coding Style: Difference between revisions

From Han Wiki
Jump to navigation Jump to search
iwu
 
(No difference)

Latest revision as of 17:18, 2 July 2016

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