Entrepreneurs have to wear many 'hats'. Trying to switch hats many times every day just makes you lose focus. Task switching has an overhead.
I came up with a method that has helped me devote a whole day to a given task without neglecting other necessary tasks for too long: https://didgets.substack.com/p/shortcuts
I find having to switch between different roles is also quite energizing. There's a variety to my days that just plain feels good compared to staring at code for 8 hours a day.