PEP 3107 and stronger typing (note: probably a newbie question)
Roy Smith
roy at panix.com
Wed Jul 4 10:01:53 EDT 2007
greg <greg at cosc.canterbury.ac.nz> 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".
More information about the Python-list
mailing list