4.2 Voice

A technical reference manual (TRM) describes what a component does. Its voice follows from that: it never states a requirement, in any form.

4.2.1 No normative keywords #

A TRM MUST NOT use RFC 2119 keywords, either in uppercase or in the lowercase constructions that read as obligation.

This is the one rule in this chapter with no exceptions, because it is what makes the class a class. A manual describes; it does not require. A reader must be able to tell, from the first paragraph of any document in this corpus, whether they are being told what something does or what they must do.

4.2.2 The indicative mood #

Write what the component does.

Not thisThis
The daemon MUST reject a malformed requestThe daemon rejects a malformed request
A client SHOULD retry after a timeoutA client that times out can retry
The cache MAY be discardedThe cache can be discarded at any time
Callers must hold the lockCallers hold the lock

The third and fourth rows are the ones that catch people. "May" and "must" survive into descriptive prose readily, because an author describing something real slips into obligation without noticing, particularly when the source material was a specification.

4.2.3 Lowercase keywords are the actual hazard #

Uppercase keywords are trivially caught by searching. Lowercase ones are not, and they are far more common: a conversion from specification prose typically leaves more than 10.

An author SHOULD search a finished manual for lowercase must, should, shall, may, and must not, and rewrite every instance that reads as a requirement. Every may is rewritten, because Core Style allows no lowercase "may" in prose. Idiomatic uses of the others survive, such as "what the content should be," and the test is whether a reader could mistake the sentence for an obligation.

4.2.4 Register #

A manual is plain declarative prose for a competent engineer, neither tutorial nor chatty. It describes the component and does not address the reader as "you." A manual SHOULD assume its reader knows the platform and wants the specifics.

Edit this page