Coding and Dismantling Stuff

Don't thank me, it's what I do.

About the author

Russell is a .Net developer based in Lancashire in the UK.  His day job is as a C# developer for the UK's largest online white-goods retailer, DRL Limited.

His weekend job entails alternately demolishing and constructing various bits of his home, much to the distress of his fiance Kelly, 3-year-old daughter Amelie, and menagerie of pets.

TextBox

  1. Fix dodgy keywords Google is scraping from my blog
  2. Complete migration of NHaml from Google Code to GitHub
  3. ReTelnet Mock Telnet Server à la Jetty
  4. Learn to use Git
  5. Complete beta release FHEMDotNet
  6. Publish FHEMDotNet on Google Code
  7. Learn NancyFX library
  8. Pull RussPAll/NHaml into NHaml/NHaml
  9. Open Source Blackberry Twitter app
  10. Other stuff

Commuter Coding - Focusing Through Frequent Interruptions

In possibly the shortest blog post known to man, I'm going to share a problem and a possible solution. I'm a rail commuter, so during the week my open-source dev life is broken into three chunks.  I get a 30 minute chunk on the way into work, a 30 minute chunk on the way home, and then an hour or so in the evening. But working in these little fragments is not great for productivity! I really struggle to keep focused, to maintain a flow and keep "in the zone".

When I'm not arsing about with my highly unstable mobile internet access, I'm wasting time remembering where I got up to earlier, what test I just fixed, or what bug I was trying to track down.

My solution? I'm going to leave a nice clear trail of destruction, so when I come back later on in the day it's clear where I've been. If I'm in the middle of a line of code, and my project won't build, great - that'll put my head straight back into the exact same problem I was working on last time I was in the code. If I've just finished a unit test or a feature, I'll maybe stick in a quick comment to say where I was going next, without the "//" - again, leave the build broken.

It's quite an obvious thing, but when something's broken I get quite emotional about it, I get really engaged with that piece of code and that problem. So coming back to broken code, it's so easy to get straight back into the same mind and the same flow.


Categories: Blogging & Social
Permalink | Comments (0)

Add comment

  Country flag

biuquote
  • Comment
  • Preview
Loading