please help shrink this each_with_index() implementation
pavlovevidence at gmail.com
Thu Jan 7 01:52:03 CET 2010
On Jan 6, 12:12 pm, Phlip <phlip2... at gmail.com> wrote:
> Nobody wrote:
> > Writing robust software from the outset puts you at a competitive
> > disadvantage to those who understand how the system works.
> And I, not my language, should pick and chose how to be rigorous. The language
> should not make the decision for me.
Oh well, your language does. Deal with it, or pick another language.
P.S. Actually, Python has ways to request no expection when it's
actually useful, e.g. the get method of dicts, but not when it's
ridiculous and stupid like int() returning zero on error.
More information about the Python-list