Even if the tasks are related, in that they both involve writing code in the same project?  I find that I can handle that pretty well, and I&#x27;m distracted a lot less by coding on two different parts of a project simultaneously than by trying to simultaneously do coding and also doing a task of a different type, like reading&#x2F;writing documentation or email.<p>If you think about it, some really complicated coding sessions require keeping the state of many pieces of the program in your mind simultaneously (see, e.g., this: <a href="http:&#x2F;&#x2F;heeris.id.au&#x2F;2013&#x2F;this-is-why-you-shouldnt-interrupt-a-programmer&#x2F;" rel="nofollow">http:&#x2F;&#x2F;heeris.id.au&#x2F;2013&#x2F;this-is-why-you-shouldnt-interrupt-...</a> ), including code in many different files.  This is actually more difficult cognitively than simply working on two separate simple and well-contained coding tasks simultaneously.