To code quickly, you must quit coding: "Some of you may already know what it is. For the rest of you, its going to sound wacky.
I stopped working.
Or rather, I set a timer for 50 minutes, during which time I worked on only one task -- no emails, no IMs, no games, no distractions. At the end of the 50 minutes, I went for a walk.
It doubled my productivity, and as a side effect increased my happiness with my work."