Subsections

6 C coding style

If you want to submit patches to Notion, you must follow my coding style, even if you think it is the root of all evil. We don't want the code to be an incomprehensible mess of styles and I have better things to do than fix other people's style to match mine. The style should be obvious by studying the source, but here's a list of some things to take note of.

6.1 Whitespace

6.2 Braces

6.3 Names

6.4 Miscellaneous

I think that's mostly it. Study the source when in doubt.