Python3.0 has more duplication in source code than Python2.5

Steve Holden steve at holdenweb.com
Sat Feb 7 15:06:12 EST 2009


Jeroen Ruigrok van der Werven wrote:
> -On [20090207 18:25], Scott David Daniels (Scott.Daniels at Acm.Org) wrote:
>> This analysis overlooks the fact that 3.0 _was_ a major change, and is
>> likely to grow cut-and-paste solutions to some problems as we switch to
>> Unicode strings from byte strings.
> 
> You'd best hope the copied section was thoroughly reviewed otherwise you're
> duplicating a flaw across X other sections. And then you also best hope that
> whoever finds said flaw and fixes it is also smart enough to check for
> similar constructs around the code base.
> 
This is probably preferable to five different developers solving the
same problem five different ways and introducing three *different* bugs, no?

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list