assert (was Re: Python not a Very High-Level Language?)
Alex Martelli
alex at magenta.com
Sun Jan 2 17:32:57 EST 2000
Eric S. Johansson writes:
> Of all the things he suggested, I personally want to see programming
> by contract support. I've done it in C/C++ using assert.h and it's
> wonderful for picking out bugs in your thinking as well as your
> implementation.
Can't you, already today, use assert in Python, as well?
Surely not as nice as calling things "pre", "post", etc, but
should be a start...
Alex
More information about the Python-list
mailing list