Personally, what kills my productivity is when it takes more than 5secs to compile&#x2F;load&#x2F;whatever. I don&#x27;t have ADHD in real life, but when I&#x27;m hacking, I can&#x27;t wait that long, so I&#x27;ll alt-tab and look at HN or whatever for &quot;5-10secs&quot;. Problem is I find an interesting article and then come back 5minutes later.<p>So, I know it&#x27;s not the best solution, but I keep compiling&#x2F;loading time REALLY fast. I.e. hot reloading is a good example of small thing that boost productivity insanely. But even in C++, I&#x27;d just work on a separate project and stub everything so that it compiles in a few ms. I know that if I need to recompile the whole codebase everytime I&#x27;m making a change I won&#x27;t get any work done.<p>It&#x27;s also because I tend to do the code&#x2F;test really fast. I know some people who code for a few minutes, then test it.. so it&#x27;s less of a problem for them.<p>Anyway, back to my hacking.. see, that sucker took more than 5 seconds to run :-)