Based on various scientific studies, it takes at least 10-15 minutes for programmer to get back into the "zone" after an interruption. There are interesting resumption strategies for interrupted programming tasks.
https://contextkeeper.io/blog/the-real-cost-of-an-interruption-and-context-switching/
https://redd.it/1vo0r9s
@programmingreddit

ContextKeeper
Programmer Interrupted: The Real Cost of Interruption and Context Switching
Interruptions and context switching are the two most costly factors that directly impact a programmer's daily productivity. Although there is no permanent way to avoid them, there are some interesting strategies to minimize their impact. The Cost of an Interruption…
August 14, 2026 80