Skip to content

Commit

Permalink
fix wording
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed Apr 26, 2024
1 parent 6988bbf commit e802250
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 reduce the cognitive load in our projects as much as possible.

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.
When reading code, you put things like conditional logic, data structure state and interfaces into your head. The average person can hold roughly [four such 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 e802250

Please sign in to comment.