Yup. This is exactly why you shouldn’t interrupt a programmer. It takes him at least a few minutes to get back to where he was, irrelevant how brief and unimportant the interruption was. And that’s why we invented managers (interrupt them all you want!), asynchronous communication (emails, ticketing systems, etc), and other tools and processes.