Task Descriptor: Define Coding Standard
Based on Method Task: Define Coding Standard
Relationships
RolesPrimary: Additional: Assisting:
InputsMandatory:
  • None
Optional: External:
  • None
Outputs
Steps
Write Prototypical Classes

When deciding on a coding standard, take the time to write a few classes which use a particular style. Should the curly braces be flush with the indentation of the line above? Do we use tabs or spaces? Are abbreviations permitted? If so, do we have a short list?

Discuss Standard

The coding standard for a project should be as simple as possible. The goal is not to forbid error prone constructs, but rather to make the code as communicative and uniform as possible so it can be understood and worked on readily. If the team cannot reach consensus, use majority rule. Having a standard is more important than the specific details.


 

Properties
Predecessor
Multiple Occurrences
Event Driven
Ongoing
Optional
Planned
Repeatable