Answer prose round 2: a complexity rule whose exception excepts, and plainer walk and ancestor comments

This commit is contained in:
2026-10-05 21:15:18 +02:00
committed by Lillem4n
parent 449e8e3233
commit d7613bd7c7
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
before paraphrasing it, and name the register you read before claiming none
publishes a spelling.
- A README example is a `json` block that loads and renders as a category; `readme_test.go` runs every one.
- Cyclomatic complexity is gated at 14. Split a function that would go over it, except a table-shaped dispatch at 14, a switch with one case per kind of its input, which stays whole.
- Cyclomatic complexity is gated at 14: split a function that would go over it. A table-shaped dispatch, a switch with one case per kind of its input, may sit at 14 and stays whole.
# Decisions