I use emacs, and the C and C++ modes. The following magic will get emacs into the mode I use: -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- Thats what I would like all the contributed code formated as. If its not it will be. Functions should not consume more then a page of code. (80x24) The exception would be large case statements, With those each case should be directed out to a function for that case. Let the compiler optimize. functions shall be defined as such: /** * : * @args * * What it does * * Return value: **/ () { /* function body */ } Disabling code shall be done with #if/#endif constructs with a comment as to why the code is disabled.