Monday, January 14, 2008

Away we go

I admit it: I was worrying that my holiday burst of inspiration and work ethic was an abberration which wouldn't soon be repeated. Having overhauled the Lexer and DOM and gotten them both up to 100% test coverage, I couldn't seem to get going on actual new code.

Sure, I'd spend a couple of hours every day or two of the last week-ish writing down bulleted lists or flowcharts of logic flow in my trusty quadrille notebooks, but I was frozen up as far as coding went. It just didn't all gel in my head yet.

Saturday night I felt like I'd gotten it all (where "it all" is the interactions between the Grammarian and its flock of subclassed Handler modules) worked out, and part of me was very much wanting to get going on the code, but another part of me was decidedly disinterested and just wanted to play video games. So that's what I did Saturday and most of Sunday, but I wasn't enjoying it all that much, because the part of me that wanted to be coding was busily yelling at the rest of me that I was a gigantic slacker who was going to completely fail on a self-imposed deadline and new year's resolution and god I just suck so bad why do I even bother talking to me?

I was exceptionally grumpy on the drive back to Atlanta.

But just before bedtime I finally managed to scrap together just enough code in the Handler superclass to write the first few tests for it. And then I subclassed it into the beginnings of the Comment handler, and wrote a handful more tests for that.

The game, once more, is afoot.

No comments: