Case sensitivity

Dan Bishop danb_83 at yahoo.com
Fri Feb 21 21:46:32 EST 2003


Kirk Strauser <kirk at strauser.com> wrote in message news:<873cmln03i.fsf at strauser.com>...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> At 2003-02-18T13:38:42Z, Jacek Generowicz <jacek.generowicz at cern.ch> writes:
> 
> > A good way of putting it. Maybe not forbidden, but it should certainly be
> > sufficently hard for both to occur, to make introducing both by mistake
> > effectively impossible.
> 
> Indeed.  I can't think of any good reason for someVariableName and
> somevariablename to exist seperately in the same namespace,

I have a measurement conversions module with pairs of names like "mg"
and "Mg".

But if Python weren't case sensitive, I could simply delete all the
symbols and refer to unit.milligram and unit.megagram instead.




More information about the Python-list mailing list