dynamic typing questions

Robert Brewer fumanchu at amor.org
Fri Dec 19 13:24:26 EST 2003


John Roth wrote:
> Look into Test Driven Development (see Kent
> Beck's book by that title.) As Jason says, unit testing
> will pretty much eliminate any advantages of static typing,
> leaving only the disadvantages.
> 
> Also, pervasive testing has so many other advantages
> that I'm beginning to think that debuggers were the
> single worst invention in history.

Zuh? Unit testing doesn't replace a good debugger; they work together.
Unit testing can only show you THAT a test has failed--it can't show you
where, how, or why. Think of exception handling (and especially
tracebacks) as a mini-debugger.


FuManChu





More information about the Python-list mailing list