News for hackers. Stuff that matters.
Re:30K application lines + 110K testing lines: Evidence of...? by Tichy on Monday April 14, 2008 @08:32AM (#163090)
I don't think it sounds healthy. But maybe writing tests is primarily a way to kill time? Like when I am not fully awake, I may not be able to concentrate hard enough to write some real code, but test code is less difficult.
Re:30K application lines + 110K testing lines: Evidence of...? by Bluem00 on Monday April 14, 2008 @01:06PM (#163269)
I've found that Test Driven Development is particularly beneficial when tired. The test suite reduces the size of the program that I need to keep in short term memory, and the quick test-solve-refactor cycle keeps me focused. Later, when more awake, I review what I did by quickly scanning the test suite and looking for any obvious omissions.

The above isn't necessary an argument for TDD, but I think you might find it useful to try to view building a test suite and building your codebase as complementary activities rather than exclusive ones. If you use them together, the entire process becomes less difficult, and code in your test suite is just as valuable as anywhere else.

Re:30K application lines + 110K testing lines: Evidence of...? by phaedrus on Monday April 14, 2008 @12:50PM (#163256)
Makes sense; I try to work on my documentation during times when I can't devote enough hours to get into the zone to code.