Static Typing in Python

Peter Hansen peter at engcorp.com
Sat Mar 13 10:13:32 EST 2004


Premshree Pillai wrote:

> Not forcing variable initialization does have its
> problems. Here's what I mean: http://www.livejournal.com/users/premshree/10624.html?thread=53376#t53376

I believe PyChecker will catch such problems easily in most cases.

Also, developing your code using test-driven development entirely avoids 
that and many other problems without requiring the developer to waste 
time writing variable declarations all over the place, reducing 
readability and maintainability.

-Peter



More information about the Python-list mailing list