January 16, 2003 8:37 AM

When I get to work, there's always this gap where I sit, staring at the monitor, thinking “Damnit. What was the last thing I thought before I left work last night?” This is especially a problem on Thursday mornings, since Wednesday night involves a significant amount of beer and pool-playing.

So this morning I thought: I do test-first programming. So, what if I made sure that I never left work without at least one failing test? I could then walk in, run the test suite, and the red bar would point to exactly the spot in the code that I need to be working on next.

It's a thought.

Previously: Think before you paint

Next: Databases, Part One