I think there&#x27;s something to doing it in your head&#x2F;on paper.  Reminds me of the story told of Don Knuth, clipped here from Quora...<p>Quote from Alan Kay about Knuth:<p>When I was at Stanford with the AI project [in the late 1960s] one of the things we used to do every Thanksgiving is have a computer programming contest with people on research projects in the Bay area. The prize I think was a turkey.<p>[John] McCarthy used to make up the problems. The one year that Knuth entered this, he won both the fastest time getting the program running and he also won the fastest execution of the algorithm. He did it on the worst system with remote batch called the Wilbur system. And he basically beat the shit out of everyone.<p>And they asked him, &quot;How could you possibly do this?&quot; And he answered, &quot;When I learned to program, you were lucky if you got five minutes with the machine a day. If you wanted to get the program going, it just had to be written right. So people just learned to program like it was carving stone. You sort of have to sidle up to it. That&#x27;s how I learned to program.&quot; - [1]<p>[1] - <a href="http:&#x2F;&#x2F;www.quora.com&#x2F;How-would-Donald-Knuth-fare-as-a-competitor-on-TopCoder-today" rel="nofollow">http:&#x2F;&#x2F;www.quora.com&#x2F;How-would-Donald-Knuth-fare-as-a-compet...</a>