Felienne Hermans, a professor of computer science at Vrije Universiteit Amsterdam, explains in her book “The Programmer’s Brain,” supported by scientific findings from neuroscience, how the human brain works during complex tasks like programming, specifically when reading, understanding, and writing code, as well as learning a new programming language.
She describes how long-term memory, short-term memory, and working memory work together and the role of “chunking” (the process of grouping small units of information into larger ones, e.g., letters into words).
We learn why complex tasks, such as working with unfamiliar code, can lead to cognitive overload, and we discover concrete techniques grounded in cognitive science that can help us reduce cognitive load – both for ourselves and colleagues we are onboarding into new areas.
We also learn why “Clean Code” techniques, such as meaningful and consistent naming, short methods, and uniform formatting, are so effective.
The author uses easy-to-understand language and numerous practical examples from various programming languages to illustrate her points.
I recommend this book to programmers of all experience levels who want to improve their handling of complex challenges, especially those who want to understand how to avoid the cognitive overload often caused by complex tasks.
🎧 Suitable as an audiobook? No, due to numerous code examples.
* Disclosure: We love sharing our favorite books with you! As an Amazon Associate, we earn a small commission from purchases you make through our links, which helps us continue creating content you enjoy.