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


next up previous contents index
Next: Names for Files Up: Documentation and Naming Previous: Documentation in Implementation Files

Names for Classes, Functions and Variables

All class, function and variable names will reflect a balance between clarity and convenience, with clarity having priorty. Idiomatic abbreviations, acronyms and contractions are discouraged. Names for classes, structures, and enumerated types shall begin with an uppercase letter. Identifers which consist of more than one word (a recommended practice) shall use uppercase at the beginning of each new word (``GoodClassName''). Local variables, class data members, class member functions, and global functions names shall begin with lowercase letters (``goodVarName, goodFunctionName''). Class data members shall have names prepended by its, or postpended with _p (``itsCount, blockPointer_p'').

Note: Glish function names follow a different policy: they shall use lower case letters exclusively.


next up previous contents index
Next: Names for Files Up: Documentation and Naming Previous: Documentation in Implementation Files   Contents   Index
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
2004-08-30