We make an extraordinary number of decisions every day. What time to get up. What to wear. What kind of coffee to order. What to eat for breakfast.
And those are the little ones, decisions we only spend a minute or two thinking about. There are even bigger decisions, like where to live and which job to take and what salary to ask for.
Decision fatigue is a relatively new concept in psychology that suggests humans have a finite amount of mental energy for exerting self-control. The more decisions you have to make, the less rational your decisions will become.
This talk will dive into how an interpreter evaluates the addition operator, how V8 can eliminate unnecessary decisions without throwing errors and how humans can learn to manage their decision fatigue by thinking more like an interpreter.