Info |
---|
This document was drawn from C++ General Recommendations on the Trac/Wiki. There have been some significant re-formatting for Confluence. The content on this page should be verified before the Trac/Wiki pages are removed. |
Numbered Headings | ||||||
---|---|---|---|---|---|---|
| ||||||
General Recommendations2-1. Remember, we are writing code for humans to read, not computers.At some point, someone unfamiliar with your code (often a future you) will have to examine it, typically to fix a bug or upgrade it. These tasks are made much simpler if the code is easily readable and well-documented. 2-2. We are writing C++11/14 with some restrictions. The official policy on the use of C++11 features is at Policy on use of C++11/14 language features. 2-3.Some rules MAY be violated under certain circumstances.Refer to the section Deviating from the DM Style in DM's Policy on Coding Style for guidance on when you may deviate from a guideline. 2-4. Object orientation SHOULD be used in your programs
The process combines UML modeling and C++ programming, they are integrated and reinforce each other. This process integration is documented in LSST Prototyping Environment. |