Define every domain field, and comment other struct fields whose meaning the type does not show
In cart Checkout
Versions
A version describes what work must do to comply with the rule. Major: work that complied with the previous version could fail this one. Minor: it still complies, and this version adds guidance. Patch: it still complies, and nothing is added. How versions work
2 versionsCompare versions
- Every field of a domain type now needs a one-sentence definition of the term, or of its role when a reusable domain type such as Money owns the term; short comments may sit after the field; other structs keep the existing narrow cases.
- Add the rule.