It's just a design issue.  The people who programmed the language made the
symbol table lookup case-sensitive.  It other words, when they attempt to
find a variable in the symbol table and they are looking for userName, but
the symbol table contains UserName, they see this as different (they don't
convert to all lower or upper before the comparison).  And, of course, it is
different to a user, but to the majority of programmers and to us as humans
it is the same.  Would you not reply to e-mails if someone accidentally
misspelled your name?  Would you not reply if they typed it in all caps but
you prefer proper case?  It's human nature to "figure out what you meant" -
having the computer be overly sensitive on this just goes against our
nature, yet gives no benefits.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Tristan Leask
Sent: Wednesday, September 27, 2006 10:14 AM
To: [EMAIL PROTECTED]
Subject: RE: [NF] Python - Thinking Differently

Now I am sure they told me this at uni but I can't remember now, but why
is it with some languages (I think java is one of them) that you have to
have the case of variables as described below?

Tristan


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Russell Campbell
Posted At: 27 September 2006 15:10
Posted To: Profox Archive
Conversation: [NF] Python - Thinking Differently
Subject: RE: [NF] Python - Thinking Differently


I don't have to on this subject.  This is just an unnecessary stumbling
block - it provides no real advantage, but has serious downsides, which
is
the same argument against case-sensitivity.  We have enough to worry
about
in programming without having to worry about problems caused by a
missing
invisible character or a variable spelled userName instead of UserName. 

----------------------------------------------------------------------------
----------------------------------
This email was sent to [EMAIL PROTECTED] Unless otherwise agreed expressly
in writing by Marine Software Limited, 
this communication and attachments are to be treated as confidential 
and the information in it may not be used or disclosed except for the 
purpose for which it was sent.
If you are not the intended recipient of this  communication  you should 
destroy it without copying, disclosing or otherwise using its contents.
Please notify the sender immediately of the error. 
[EMAIL PROTECTED]
----------------------------------------------------------------------------
--------------------------------------



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to