case sensitivity and XML

Randall Hopper aa8vb at yahoo.com
Tue May 23 11:32:50 EDT 2000


Michal Wallace (sabren):
 |1. By definition: For python to be case insensitive, the token {A}
 |   must be the same as the token {a}.
...
 |3. Therefore:
 |	x.__dict__["A"] = 1
 |   is the same as:
 |	x.__dict__["a"] = 1
...
 |4. Therefore, the string, "A" must be equivalent to the string, "a".

Not necessarily.  But I can see the confused newbie questions rolling in
now.

Reading BASIC and Pascal code for several years taught me (among other
things) that case insensitivity isn't the better way.

whY do WE Have RULES fOR capiTALIZation IN lANGUAGES?  Because it makes
them easier to read and comprehend.

-- 
Randall Hopper
aa8vb at yahoo.com

How many variables? -- you decide:
  10 IF AVAR<>10 then avar!=512:PRINT bvar;:goto 100:Else Avar=0:Goto 20





More information about the Python-list mailing list