Range Operation pre-PEP

Norman Shelley Norman_Shelley-RRDN60 at email.sps.mot.com
Wed May 16 12:39:49 EDT 2001


Tim Peters wrote:

> [Tim, on 2.2's use of iterators]
> > For an extreme example, max(sys.stdin)
>
> ...
>
> > Pretty soon our one-liners will be even shorter
> > than Perl's!
> >
> > Next-stop-APL-ly,
>
> Iterators aren't a sure thing for 2.2, just more likely than not at this
> point.  Everyone who has tried them appears to like them a lot, and the
> implementation seemed rock solid from the first checkin (still waiting for
> the first bug to pop up!).  Backward compatibility is 100%, the
> implementation of loops is simpler and faster, and it's a protocol that
> applies without needing any changes to NeilS's work on generators too.
>
> So you'd think nothing could stop it.  Guido is still cautious, though,
> precisely because he doesn't want Python to move in an APLish direction.  So
> while I think it's way cool too, I never say that out loud <wink>.

One reason I like Python is that it allows one multiple different paradigms,
procedural, functional (sort of), OO, ...   For those of us who do scientific
programming allowing (but not requiring) the APL paradigm is just one more plus
in my opinion.
Norman Shelley

>
>
> well-ok-i-do-but-i-try-to-look-concered-at-the-same-time-ly y'rs  - tim




More information about the Python-list mailing list