TLDR Web Dev · OPINIONS & ADVICE
COGNITIVE LOAD IS WHAT MATTERS
Summary from the TLDR Web Dev newsletter
Cognitive load is the mental effort required to understand code. High cognitive load leads to confusion, which wastes time and money. Code can be written to minimize cognitive load, such as through using clear variable names, avoiding deep inheritance hierarchies, and favoring deep modules over shallow ones.