Skip to content
jtniehof edited this page Sep 14, 2010 · 2 revisions

Coding standards encourage consistency for ease of reading and maintenance, not pedantry. It simplifies matters if contributions are to the adopted standard; however, patches can always be edited to meet standards and fear of not “passing standards” shouldn’t hold one back from contributing.

That said, we haven’t picked a standard yet. The two obvious candidates would appear to be the GNU coding standards and the Linux kernel coding standards.

GNU coding standards

Documented here
+Easy to write in Emacs
+Using autotools, so might as well stick with GNU
-Wow it’s long
-Wastes a lot of vertical space

Linux kernel standards

Documented here
+Using git, so why not do things the Kernel Way
+Sticks close to K&R

Clone this wiki locally