I've recently been working on multiple work items at once. One of them is an older work item that has been blocking me for while and needs research, and the other is on a new project that needs me to learn a different paradigm since the application is built differently (say, something like functional programming).
Since the build and deployment for my own testing (prior to pushing code) for each can take time (around 10-15 minutes), I try to swap between tasks to get more done. However, I've noticed a decrease in the quality of my own code in terms of the feedback I've been receiving - similar comments, silly mistakes etc, that I'm not happy with. Part of that might be because I'm working with a different type of application and codebase than what I'm used to, but I still don't feel like I'm able to focus while jumping between things.
How do you juggle and work with multiple work items effectively? Do you time block, do it on alternate days, anything you would recommend? Thank you in advance.