Give the referent for a bare demonstrative
Rule ste-practices.unclear-demonstrative-this in the STE Writing Practices category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | suggestion |
| Scope | sentence |
Profile strict |
advisory |
Profile normal |
excluded |
Profile relaxed |
excluded |
Message
Section titled “Message”Bare demonstrative “<match>”. Name the thing it refers to.
Replace the demonstrative with the noun phrase it refers to.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The worker writes to the same table as the exporter. This can cause a deadlock.Rewrite:
The worker writes to the same table as the exporter. Two writers on one table can cause a deadlock.Example 2: flagged
Section titled “Example 2: flagged”Do not delete the lease file (this breaks the leader election).Rewrite:
Do not delete the lease file. Without the lease file, leader election fails.Exceptions
Section titled “Exceptions”- quotation
- code-span
Provenance
Section titled “Provenance”ASD-STE100