PEP 322 - alternate method names

Robert Brewer fumanchu at amor.org
Thu Aug 26 18:48:50 CEST 2004


AC wrote:
> >From the PEP 322 page:
> 
> "This PEP has been conditionally accepted for Py2.4. The condition
> means that if the function is found to be useless, it can be removed
> before Py2.4b1"
> 
> Is there still hope at least for an alternative method name that is
> not past tense?

"reversed" doesn't have to be a past tense verb in English; it's more of
an adjective, modifying its target. "X is a reversed sequence".

> flip, transpose, invert, swap... 

The problem with using a "present tense verb" is that it implies that
the original object is mutated.


Robert Brewer
MIS
Amor Ministries
fumanchu at amor.org



More information about the Python-list mailing list