greg <[EMAIL PROTECTED]> wrote: > Paul Rubin wrote: > > E.g. your program might pass its test and run properly for years > > before some weird piece of input data causes some regexp to not quite > > work. > > Then you get a bug report, you fix it, and you add a test > for it so that particular bug can't happen again.
The TDD zealots would tell you you've got the order wrong. Instead of "fix, then write a test", it should be "write a failing test, then fix it". -- http://mail.python.org/mailman/listinfo/python-list