Python rocks

Klaas mike.klaas at gmail.com
Tue Jun 5 19:09:52 EDT 2007


On Jun 3, 8:56 am, a... at mac.com (Alex Martelli) wrote:

> Allowing a trailing ! in method names has no such cost, because in no
> language I know is ! used as a "postfix unary operator"; the gain in the
> convention "mutators end with !" is not huge, but substantial.  So, the
> tradeoffs are different: small pain, substantial gain == not a bad idea.
>
> However, this is all quite theoretical, because no more PEPs will be
> accepted for Python 3000, so any language change like this would have to
> wait for Python 4000, which is no doubt quite a distant prospect:-).

Would it?  If it isn't backwards-incompatible, it could even go in 2.6

-Mike




More information about the Python-list mailing list