iterators (was: python-dev summary)

Erno Kuusela erno-news at erno.iki.fi
Fri Feb 16 20:22:43 CET 2001


In article <96jt2v$ogk$1 at nntp6.u.washington.edu>, Donn Cave
<donn at u.washington.edu> writes:

| I have heard claims that they're faster, and that's a priority I can
| understand.

actually, they are slower (than map + python function). but don't
think that should be important.

| But every time some cool notion gets added to Python, it adds to
| the amount that we all eventually have to know.  I can't indefinitely
| postpone my education in list comprehensions without marginalizing
| myself, just as someone who comes along and learns them right away
| will still have to learn all the alternatives too.  Does that add
| to our ability to write software, or subtract from it?

well said.

  -- erno



More information about the Python-list mailing list