Coding Style

From Han Wiki
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