Cut the smaller-codebase forecast from the one-spelling rule

This commit is contained in:
2026-09-25 08:51:38 +02:00
parent 3a6ea7e6ca
commit f07765d876
3 changed files with 1 additions and 2 deletions
-1
View File
@@ -44,7 +44,6 @@ Apply it as a question to any design that routes A through B, or has A reach int
- When two spellings reach the same result, make one work and reject the other. Supporting both needs a stated reason, written down.
- Reject the redundant spelling as early as possible — at load, parse or compile, not at use — and have the error name the spelling to use instead: `token {p} renders a level that {p.first} reads a path into; name the fields you want instead`.
- Where the two spellings can *disagree*, this is a correctness rule, not a style one. A caveat in the README does not close it.
- Expect the codebase to get smaller: one check usually replaces the machinery that kept both spellings in step, and the performance that machinery cost.
- Applies to data formats, config, CLI flags and public APIs alike.
## Working loop