2 ms·
Complexity related -- "Don't wake up the programmer" (https://alexthunder.livejournal.com/309815.html https://alexthunder.livejournal.com/309815.html). This cr
by tra3 3y ago
Complexity related -- "Don't wake up the programmer" (https://alexthunder.livejournal.com/309815.html https://alexthunder.livejournal.com/309815.html).
This crystallized for me why you shouldn't interrupt devs when they are working and keep interruptions to a minimum.
Briefly, the author asserts, that writing software is like sleeping. For a lot of people getting to sleep takes a while and if you wake them up even for a minute, they have to go through the 'getting to sleep process' again and it's non trivial.
Software complexity is the same, it takes a while to go through the cognitive exercise of grasping what the code does. If you interrupt me, I lose the context and have to go through the "code loading" steps again..
I tried to explain this to my wife, unfortunately she's a rare breed that can fall asleep on a dime so this explanation did not make quite the impact that I was hoping for.