Link to current text
NOT.2:8 - Common Anti-Patterns and How to Avoid Them
| Failure | Repair |
| Supplying a constructor list without binding rules | State which constructors introduce names and where those names apply. The sum’s index declaration governs its body. |
| Treating a repeated spelling as the same reference | Resolve the occurrence through its context. Local p can hide the external parameter in the sum example. |
| Checking input types but ignoring operand roles | Identify ordered or named places. The ratio receives numbers in either arrangement but computes different answers. |
| Letting layout imply an undocumented operation | Define which spatial or temporal relations carry grouping and connection; preserve those relations when changing presentation. |
| Dropping delimiters without recoverability or equivalence | Retain them until the precedence rule or an appropriate equivalence justifies their omission. |