[Python-Dev] pep8 reasoning

Barry Warsaw barry at python.org
Thu Apr 24 19:31:13 CEST 2014


On Apr 24, 2014, at 06:51 PM, Tal Einat wrote:

>I speak two languages as mother tongues - English and Hebrew. Hebrew
>has no capital letters (and is also right-to-left) and is the spoken
>and written language in the parts of Israel where I've lived most of
>my life. Perhaps because of this, I do find that capital letters don't
>quite "jump out" for me and therefore I find mixedCase and CamelCase
>harder to grok at a quick glance than under_score_names.

I was musing at Pycon with others about how Go would handle identifiers in
languages that don't have capital letters, such as Hebrew, given the fact that
they use the case of the first letter to control identifier visibility.  Their
FAQ essentially punts on the issue (start your identifier with a letter that
can be capitalized, e.g. X日本語) but says that this feature will likely stay.
I guess it's Go's flavor of Python's whitespace rule. :)

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140424/549a3252/attachment.sig>


More information about the Python-Dev mailing list