Case sensitivity

Anna revanna at mn.rr.com
Tue Mar 4 14:23:21 EST 2003


On Fri, 21 Feb 2003 21:24:07 +0000, David Mertz wrote:

> |Alex Martelli wrote:
> |> Case sensitivity, while still small, is worse, because it recurs
> |> EVERY time you use a large module for which you have not fully
> |> memorized every case choice -- it keeps hurting your productivity
> |> because you DO have to memorize, or check, every such detail,
> |> forever.
> 
> Erik Max Francis <max at alcyone.com> wrote previously:
> |Is the overhead between 1. remembering the thing's name and 2.
> |remembering the way it's spelled taking into account conventions and
> |case _all_ that significant?

Yes - when it makes a difference in what the thing *is*... 

> I'm not a beginner.  I've programmed for more than two decades.  I write
> books and articles about programming.  I've worked in a score of
> different programming languages.  But it is still a DAILY occurrences
> that I trip up on casing issues when writing Python code.  I expect that
> it will continue to be a daily thing until I die, or stop using Python.
> These little trip-ups hardly make Python bad, or really -difficult- to
> use... but they certainly make it just a little bit less easy than it
> would be with case-insensitivity.
> 
> Yours, David

Thank you for posting this.

I guess I have to say, from a beginner's POV, it's kinda annoying to type
in something like mx.DateTime.Today and have it tell me it doesn't know
what I'm talking about. (Sorry for using that as an example, but Alex
mentioned it earlier and I happen to use that module probably more than any other in my work uses...) So, then I
had to remember how to do a dir and figure out if my memory was failing me
or if there really was a today function in the module. and lo and behold,
there was. but unlike everything else I'd used, it was all lowercase.

(And yeah, I read M-A Lemburg's explanation of this and don't understand
why I'm supposed to know what kind of process he used to create the
thing... I'm still figuring out what all those words mean...)

I don't get a chance to do much programming at work, so it's been a very
slow process of learning... it's fun! Except for the frustration of having
to look things up that I thought I knew... but, hey! at least it's a
*WORD* and not some wierd symbol thingie... I can deal with words...

Just my $.03 worth.
Anna
--
What good are words if you can't play with them?







More information about the Python-list mailing list