Pre/Postconditions with decorators

Andrew Dalke dalke at dalkescientific.com
Sun Jan 9 13:11:41 EST 2005


Paul Rubin wrote:
> [Type checking] should be left on.  Leaving it in for development
> and turning it off for production is like wearing a parachute
> during ground training and taking it off once you're in the air.

Why isn't it like practicing the trapeze with a net but
going without a net when performing for a big circus?

Why isn't it like using training wheels when learning to
ride bicycle but getting rid of them once you've got the
idea down?

Or like using a map when you get to a new city but gradually
stop as you know the place?

Fighting analogies with analogies :)

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list