% is not an operator [was Re: Verbose and flexible args and kwargs syntax]

alex23 wuwei23 at gmail.com
Thu Dec 15 21:14:14 EST 2011


Eelco <hoogendoorn.ee... at gmail.com> wrote:
> To tie it back in with python language design; all the more reason not
> to opt for pseudo-backwards compatibility. If python wants a remainder
> function, call it 'remainder'. Not 'rem', not 'mod', and certainly not
> '%'.

Good luck with the PEP.

> Its the more pythonic way; a self-describing name, rather than
> poorly defined or poorly understood cryptology.

"Although practicality beats purity."

I'm still utterly agog that anyone finds the operator % confusing.



More information about the Python-list mailing list