Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous
Next: Standards Up: AIPS++ Programming Standards DRAFT Version Previous: AIPS++ Programming Standards DRAFT Version

Introduction

In this document, will the discuss the more basic standards and suggestions for C++ development. The conventions of Plum and Saks will be used for terminology 1; a standard is a rule which is nearly always followed, and a guideline is a recommendation. Wherever possible, a coding example will be provided to clarify the current discussion, and a justification will be given for all standards and guidelines.

This is intended as a living document, and as such all of its contents are open to discussion and debate. Additions can be added if it can be successfully argued that they will help the maintainability, understandability, or reusability of AIPS++ software, or sections can be removed it can be argued that their benefits do not significantly increase the quality of AIPS++ software. It is very important to maintain a minimal set of standards to avoid a overwhelming barrage of rules which could result in the standards not being followed.

There will be two documents which will accompany this document. One will describe the format for source code documentation and the tool(s) for extracting the documentation and creating texinfo files or man pages. Perhaps, at some point, the coding standards and documentation standards will be combined, but for now they will be separate. The second will describe the exception mechanisms which will be used for signaling and handling errors.

There are several other sources of information utilized in creating this document. Meyers book on effective C++ programming proved useful 2, but many of the points which this book makes is also in the ``C++ Programming Guidelines''. However, the ``C++ Programming Guidelines'' is much more terse. The ARM 3 was also used. Since the ARM is the ANSI draft standard for C++, it is the last word when questions arise, and it also contains interesting commentary on language features.


next up previous
Next: Standards Up: AIPS++ Programming Standards DRAFT Version Previous: AIPS++ Programming Standards DRAFT Version
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15