(Still OT) Nationalism, language and monoculture [was Re: Python Worst Practices]
Gregory Ewing
greg.ewing at canterbury.ac.nz
Tue Mar 3 00:40:23 EST 2015
Chris Angelico wrote:
> You want to
> use "colour" instead of "color"? Also not a problem, and should be
> easy enough for someone to understand who normally spells it the other
> way.
It's not a matter of failing to understand, it's about
having more than one spelling of an identifier around
imposing an extra cognitive burden.
PEP 8 recommends against abbreviating identifiers because
it's hard to remember which abbreviation is being used
in any given context. Multiple alternative spellings
have a similar effect.
--
Greg
More information about the Python-list
mailing list