(Still OT) Nationalism, language and monoculture [was Re: Python Worst Practices]
Christian Gollwitzer
auriocus at gmx.de
Fri Mar 6 14:26:41 EST 2015
Am 06.03.15 um 19:15 schrieb Marko Rauhamaa:
> llanitedave <llanitedave at birdandflower.com>:
>
>> It's obvious that's what's needed here is a PEP requiring that the
>> International Phonetic Alphabet be used for all Python identifiers and
>> keywords.
>
> You're onto something:
ROFL!!!
Though I'd prefer a few identifiers in a different way; I think you can
drop many of the ɹ, e.g.
> ========================================================================
> #!/ˈjuːzəɹ/bɪn/ɛnv ˈpaɪˌθɑːn3
> # -*- ˈkoʊdɪŋ: ˌjuːˌtiːˌɛf-ˈ8 -*-
>
> ˈɪmpoɹt loʊˈkæl
ɪmˈpɔːt ˈləʊkl
British accent saves bytes!!
SCNR
>
> dɛf meɪn():
> tɹaɪ:
> ɹeɪz ˈVæljuːˈƐɹəɹ()
> ɪkˈsɛpt ˈVæljuːˈƐɹəɹ:
> tɹaɪ:
> ɹeɪz ˈAɪOʊˈƐɹəɹ()
> ˈfaɪnli:
> ɹeɪz
>
> ɪf __neɪm__ == "__meɪn__":
> tɹaɪ:
> meɪn()
> ɪkˈsɛpt ˈVæljuːˈƐɹəɹ:
> pɹɪnt("Həˈloʊ")
> ========================================================================
>
>
> Marko
>
More information about the Python-list
mailing list