Using non-ascii symbols
Steven D'Aprano
steve at REMOVETHIScyber.com.au
Tue Jan 24 16:26:16 EST 2006
On Tue, 24 Jan 2006 10:38:56 -0600, Dave Hansen wrote:
> The latter, IMHO. Especially variable names. Consider i vs. ì vs. í
> vs. î vs. ï vs. ...
Agreed, but that's the programmer's fault for choosing stupid variable
names. (One character names are almost always a bad idea. Names which can
be easily misread are always a bad idea.) Consider how easy it is to
shoot yourself in the foot with plain ASCII:
l1 = 0
l2 = 4
...
pages of code
...
assert 11 + l2 = 4
--
Steven.
More information about the Python-list
mailing list