[Edu-sig] On case sensitivity  David Scherer dscherer@cmu.edu
Fri, 4 Feb 2000 12:23:07 -0500  > Actually, I want to create an
IDE that is sufficiently aware of the > syntax that it can tell
assignment from use in most cases.  What is the desired behavior
in this case?  t = 5 if t<0:   T = -t print t  It seems that T
should be corrected to t, but in that case there is little need
to distinguish assignment from use.  Separately, I think the
following heuristic would be valuable (and does require the
distinction):  Assignment to a variable which is never used
should generate a warning in the IDE.  This helps with a vast
class of typographical errors which are not limited to case
errors.  A single typo in use will usually generate an
exception:  position = 5 position = posiiton + 1  # error print
position  At present, though, a typo in an lvalue is silently
ignored:  position = 5 posiiton = position + 1  # silent failure
print position  > It would parse the module source code (caching
results to make the > time e