Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed Jan 22, 2024
1 parent 8ee5510 commit ebfa79f
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 code, you hold various facts in memory, such as conditional logic, variables' values, other component's contract, effects on the coupled code and so on. The average person can hold roughly [four such 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 code, you hold various facts in your head, such as conditional logic, variables' values, related component's contract, effects on the coupled code and so on. The average person can hold roughly [four such 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 ebfa79f

Please sign in to comment.