C/C++ Coding Standard
Richard Liston


Overview

Coding standards are a set of rules, or more accurately guidelines, that indicate how code should be structured in a particular programming language and environment. The intent of these standards is to make the code easily readable and the logic evident, reducing the occurrence of bugs and ultimately saving time in the software development process. This is a subjective topic; there are many existing coding standards, many of which in fact contain conflicting rules. This document lists the standards that I will be applying in my CS courses. The guidelines are drawn from many sources, including the following: Note: this document will evolve over time as I identify things to clarify, add and remove. Any feedback you wish to provide will be appreciated.

The Guidelines


Richard Liston
Last updated: Sun Jan 20 13:34:10 EST 2008