[beginner] What's wrong?
Marko Rauhamaa
marko at pacujo.net
Sat Apr 2 11:07:55 EDT 2016
Chris Angelico <rosuav at gmail.com>:
> Yep! And the letters (thorn and eth) survive in a very few languages
> (Icelandic, notably). Fortunately, Python 3 lets you use it in
> identifiers.
While it is fine for Python to support Unicode to its fullest, I don't
think it's a good idea for a programmer to use non-English identifiers.
The (few) keywords are in English anyway. Imagine reading code like
this:
for oppilas in luokka:
if oppilas.hylätty():
oppilas.ilmoita(oppilas.koetulokset)
which looks nauseating whether you are an English-speaker or
Finnish-speaker.
Marko
More information about the Python-list
mailing list