namespaces & indentation

Moshe Zadka moshez at zadka.site.co.il
Sat Dec 23 16:27:01 EST 2000


[Tim Peters]
>1. Strive to test all paths thru each function (good advice regardless of
>language).

[Chris Schaller]
> That's right, but that's not so easy in Python (sorry, I'm a little bit
> fastidious from using FPLs) due to its dynamics.

Tim said "test", not "statically check for errors" on purpose. Even in
FPLs untested branches can have bugs, at the very least logic bugs.
Python does very little in compile-time checking, so in Python,
testing is mandatory.
-- 
Moshe Zadka <sig at zadka.site.co.il>
This is a signature anti-virus. 
Please stop the spread of signature viruses!




More information about the Python-list mailing list