[Python-ideas] 1_000_000

Greg Ewing greg.ewing at canterbury.ac.nz
Sat May 7 09:41:43 CEST 2011


Ethan Furman wrote:

> I see it as a readability issue -- if you have 1_024 and _1025 (etc, 
> etc), where one is a number and the other a name, confusion can easily 
> result.

But probably not much worse than the confusion you can get
today between 1234e6 and _1234e6, or O000001 and 0000001.
There will always be ways of creating confusing-looking
code if you put your mind to it. :-)

-- 
Greg



More information about the Python-ideas mailing list