Re:We don't write tests. There just isn't time for luxuries.
by pius on Wednesday October 03, 2007 @08:59PM
(#62858)
Right. How can you refactor code that has no tests? Basically, you've got no clue if your new refactored code works because all the precious time you've spent using the old code went towards ephemeral tests that weren't written down. That makes refactoring a lot more risky than it needs to be.
[ Parent
| on HN ]
Re:We don't write tests. There just isn't time for luxuries.
by pius on Thursday October 04, 2007 @12:09PM
(#63062)
What I meant to say is "How can you effectively refactor code that has no tests?"
Refactoring is inevitable. I find that on projects where I've written tests, refactoring goes a lot better.