Code/test ratio wrt static vs dynamic typing

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Wed May 21 07:20:35 EDT 2008


Ben Finney a écrit :
> greg <greg at cosc.canterbury.ac.nz> writes:
> 
>> Also, I don't think it's valid to equate the size of the tests with
>> the amount of effort it took to develop them. For instance, the test
>> suite for Pyrex is currently larger than the Pyrex compiler, but
>> I've still spent far more time and effort developing the compiler
>> than writing the tests.
> 
> Right. The unit test suite should tend to increase: add tests far more
> often than removing them. The application code, though, should tend to
> grow less rapidly: 

or even sometimes, at some point, start to shrink, thanks to:

> refactor duplication, remove redundant code,




More information about the Python-list mailing list