does lack of type declarations make Python unsafe?

Peter Hansen peter at engcorp.com
Mon Jun 16 12:11:05 EDT 2003


Tim Rowe wrote:
> 
> "The choice between compile time testing and run-time testing is the
> choice between the programmer finding the bugs and the customer
> finding the bugs".

Only if you don't bother to run the software before you give it
to the customer.

That's what unit and acceptance tests are for... they substitute
for the customer, and catch more bugs than you would in either
case if you relied only on compile-time testing, or only on 
customer-time testing.

-Peter




More information about the Python-list mailing list