Guidelines for Writing Reliable C/C++ Code
Regardless of the software engineering methodology employed in a project, there are low-level decisions that are usually left up to the individual developer. Within this discretionary space, there is room for simple coding techniques that can make your embedded system more reliable. Although most organizations have some kind of coding guidelines, these often focus on issues like naming variables and indentation style. This paper will suggest some low-level coding guidelines that are applicable to almost all approaches to software engineering. While, nobody can promise you perfectly reliable code, these steps will surely take you in the right direction.