justjavascript.com/learn/01-mental-models
1 Users
0 Comments
8 Highlights
0 Notes
Tags
Top Highlights
“Thinking, Fast and Slow” is a book by Daniel Kahneman that explores the two different “systems” humans use when thinking.
Identifying and fixing these problems is what Just JavaScript is all about. We will gradually build (or possibly rebuild) your mental model of JavaScript to be accurate and useful.
These approximations of how something works in your head are known as “mental models.”
Because using the “slow” system is so mentally draining, we tend to default to the “fast” one—even when dealing with intellectual tasks like coding.
What you might not have noticed (great job if you did!) is that this function also accidentally changes the title of the original spreadsheet.
ou might switch to the more laborious “slow” system when you realize there’s a bug in the code.
uess what the code does based on its overall structure, naming conventions and comment
Over the next modules, we’ll rebuild our mental model of JavaScript together, so that you can catch bugs like this immediately.
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.