please help shrink this each_with_index() implementation

A

alex23

Phlip said:
And I, not my language, should pick and chose how to be rigorous. The language
should not make the decision for me.

Since you seem unwilling to put the minimal effort into producing the
support code you'd need to work with Python the way you want, perhaps
Perl might be more to your liking?
 
C

Carl Banks

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.


Carl Banks

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.
 
R

Roel Schroeven

Phlip schreef:
And I, not my language, should pick and chose how to be rigorous. The language
should not make the decision for me.

You can always easily make your program less rigorous than the language,
but the reverse is generally very difficult. So a rigorous language
gives you the choice, why a non-rigorous language does not.

--
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom.
-- Isaac Asimov

Roel Schroeven
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,338
Messages
2,571,770
Members
48,561
Latest member
WileyBrant

Latest Threads

Top