Skip to content

Commit

Permalink
add quote
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed Jan 22, 2024
1 parent 493efba commit af39e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Since we spend far more time reading and understanding code than writing it, we
We should strive to reduce the cognitive load in our projects as much as possible.

When reading through code, you hold various facts in memory, such as conditional logic, boolean variables state, model's state, execution flow, other component's interface, possible effect on the coupled code and so on. The average person can hold roughly [four unrelated facts](https://github.com/zakirullin/cognitive-load/issues/16) in working memory. Once the cognitive load reaches this threshold, a significant effort is required to understand things.
When reading through code, you hold various things in memory, such as conditional logic, boolean variables state, model's state, execution flow, other component's interface, possible effect on the coupled code and so on. The average person can hold roughly [four unrelated facts](https://github.com/zakirullin/cognitive-load/issues/16) in working memory. Once the cognitive load reaches this threshold, a significant effort is required to understand things.

*Let's say we have been asked to make some fixes to a completely unfamiliar project. We were told that a really smart developer had contributed to it. Lots of cool architectures, fancy libraries and trendy technologies were used. In other words, **the previous author had created a high cognitive load for us.***

Expand Down

0 comments on commit af39e4b

Please sign in to comment.