logo rapple website generator






indent guidelines

indent is a syntax formatter that ensures that consistent formatting standards (e.g., indentation) are applied to source code thereby eliminating issues that arise when using diffutils and cvs. consistency of code formatting also helps when reading a codebase written by several developers (each with their own formatting taste ;)

we simply ask that when you work on new or existing code that you apply GNU indent to it first before checking it in. informally we appear to be using K&R style, 4 space tabwidth ;) i.e., invoke as

%indent -kr -ts4 <input-files>

powered by rapple SourceForge.net Logo Valid XHTML 1.0! Valid CSS!