An interesting analogy from Phlip:
200 years ago, doctors believed evil spirits caused disease. Then some doctors started washing their hands before surgery - instead of only afterwards. They reported higher a success rate, and advertized this in terms of a "germ theory". But other doctors, because they did not "believe in" the germ theory, refused to wash their hands, even though washing couldn't possibly hurt the patient.Some believe TDD is the best way to design. But there's no conceivable reason not to write tests before writing the code to pass the tests, even if you design some other way. But "believing in" the design theory is irrelevant.
March 15, 2004 9:48 AM
| TrackBack