News for hackers. Stuff that matters.
Re:At the End of a Procrastinated Day by skrebbel on Friday December 09, 2011 @07:34PM (#3336378)
Kent Beck calls this the "Red Test Pattern". If you do test-driven development, check in your code, write one more test that fails, and only then stop working.

Works wonders for me.

Re:At the End of a Procrastinated Day by bitops on Saturday December 10, 2011 @03:10AM (#3337232)
Agree - this pattern is really underestimated.

I find it especially powerful at the end of a long day when you've been deep in the details. When you come in the next morning and see that red test, you "download" the context you were in much more quickly. I've also noticed that you tend to remember little details and nuances more clearly.