3 ms·
> But I do think that you can improve your resilience to interruptions if you: > 1. Come up with a solution to a problem before you start writing code, and thi
by dkersten 9y ago
> But I do think that you can improve your resilience to interruptions if you:
> 1. 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.
The problem is, for me, that “come up with a solution” is the part that is at most risk of getting derailed by distraction. Writing the code, after I’ve come up wth a solution, is quite a minor aspect of programming for me (almost trivial, often). The hard part is understanding the problem, its contraints and requirements, the context within which it lives and all of the different things that I need to take into account to create a solution. That often takes a lot of working through things in my mind: visualising input data, transformations and output, visualising dependencies, simulating the algorithms and processes in my head. Determining what affects what and if that has any impact on something else. That’s the hard part. Actually coding it is usually not so hard nor is it usually particularly sensitive to interruptions.
- jinfiesto 9y agoThis. I personally don't feel that I spend all that much time in the "trenches" when programming. Most of my work is thinking and then hopping over to the computer to tap out a few lines. Or sometimes interacting with something through the debugger/reading the code to get an idea of how something works. I very rarely have my nose in the keys trying to grind out a solution.