Case-insensitive string equality
Chris Angelico
rosuav at gmail.com
Tue Sep 5 10:31:41 EDT 2017
On Wed, Sep 6, 2017 at 12:27 AM, Grant Edwards
<grant.b.edwards at gmail.com> wrote:
> On 2017-09-03, Gregory Ewing <greg.ewing at canterbury.ac.nz> wrote:
>> Stefan Ram wrote:
>>> But of
>>> course, actually the rules of orthography require "Maße" or
>>> "Masse" and do not allow "MASSE" or "MASZE", just as in
>>> English, "English" has to be written "English" and not
>>> "english" or "ENGLISH".
>>
>> While "english" is wrong in English, there's no rule
>> against using "ENGLISH" as an all-caps version.
>
> Perhaps there's no "rule" in your book of rules, but it's almost
> universally considered bad style and you will lose points with your
> teacher, editor, etc.
>
> On the inter-tubes generally indicates you're shouting, or just a
> kook. I guess if either of those is true, then it's good style.
ENGLISH, Doc!
*Doc Brown proceeds to explain and/or demonstrate*
ChrisA
More information about the Python-list
mailing list