You list part of the solution to making distractions less impactful as “Come up with a solution to a problem before you start writing code, and think about which parts of the system that solution will impact.”, but.. this is exactly the part that is most impacted by distractions for me! Actually coding a solution is almost trivial, coming up with it in the first place is the hard part and the part that is most sensitive to distraction.
Sometimes I have to code something to verify that a solution is possible. These times, just code and hope it works is cheaper than list out several solutions in the first place.
So even coming with the solution before coding isn't feasible.
Couldn't have put it better :)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.