Comment on PEP-0322: Reverse Iteration Methods

David Abrahams dave at boost-consulting.com
Sat Sep 27 02:46:17 CEST 2003


"Sean Ross" <sross at connectmail.carleton.ca> writes:

> "David Eppstein" <eppstein at ics.uci.edu> wrote in message
> news:eppstein-AF4213.10592426092003 at news.service.uci.edu...
>> Your proposed name has an implication for the semantics.
>
> Do the implied semantics of ireverse() differ from those implied by the
> names iter_backwards(), reverse_view(), riter(), etc.?
> Because, to me, they' re just different words for the same idea.

Well, the only other place we have an 'i' prefix on a function name,
AFAIK, it means "inplace".  I don't mind riter(); it has a nice
resonance with rbegin() in C++.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Python-list mailing list