C++ programming conventions

A software engineer's responsibility is to produce a business asset that is going to last many years. If an engineer can't understand someone else's code, it might as well be thrown away and rewritten from scratch. Unfortunately this happens all too often. Making code readable and maintainable is as important as, or more important than, making it work correctly. If it doesn't work, it can be fixed. If it can't be maintained, it's scrap.

The C++ standard
Source file conventions
Name conventions
Class definition conventions
Type declaration conventions
Arguments and function results
Reference and value semantics: C++ versus everything else
Static object constructors
The C preprocessor
Things to avoid

[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker