Exception as the primary error handling mechanism?
Steven D'Aprano
steve at REMOVE-THIS-cybersource.com.au
Wed Jan 6 16:14:14 EST 2010
On Wed, 06 Jan 2010 12:39:36 -0800, Phlip wrote:
> And now, if everyone will excuse me, I have to get back to writing a
> unit-test-to-code ratio of 2:1.
In my experience, that's about half as many unit-tests as needed for full
code coverage for even a simple class. If you're trying to impress us,
you have failed.
> Have fun being rigorous, everyone!
You say that as if writing correct code was a bad thing.
--
Steven
More information about the Python-list
mailing list