please help shrink this each_with_index() implementation

Nobody nobody at nowhere.com
Wed Jan 6 13:10:36 EST 2010


On Tue, 05 Jan 2010 19:46:01 -0800, alex23 wrote:

>> They will tell me how to use except: (which is a good example why a
>> program should not use exceptions for its normal control flow if at
>> all possible).
> 
> Really? Magic functions that coerce and eat errors are a better coding
> technique than exceptions and explicit handling?
> 
> What kool-aid have you been drinking?

Maybe he's doing it for a living?

Contract programming seems to work on the basis that the ultimate
requirement is for the client to hand over the money. If, at that point,
the program is still full of bugs, you get to charge extra for "upgrades".

Writing robust software from the outset puts you at a competitive
disadvantage to those who understand how the system works.




More information about the Python-list mailing list