Skip to content

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

Bare demonstrative “<match>”. Name the thing it refers to.

Replace the demonstrative with the noun phrase it refers to.

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.
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.
  • quotation
  • code-span

ASD-STE100