Cognitive load reduction
Following these specific prinpcles reduces cognitive load whilst programming.
- Relatedness pattern
Things that are related to one another and ordered logically do not increase cognitive complexity - Logic should be in the positive
Logic should in general be asking the question "Is this true?" instead of "Is this not true?" - Iterate in Thens
You should iterate sequentially on a focused chunk of work at a time.