[Python-ideas] syntax for set

MRAB python at mrabarnett.plus.com
Thu Nov 25 04:01:20 CET 2010


On 25/11/2010 02:42, Greg Ewing wrote:
> On 24/11/10 22:40, Masklinn wrote:
>
>> Since 1s will be in the code source in any case (as free-standing
>> integers
>> or as part of floats) wouldn't it be more sensible to ban `l` from
>> identifiers? As well as uppercase O just to be on the safe side?
>
> Don't forget Z, A and S to eliminate confusion with 2, 4 and 5.
>
>> having to write `FIVE HUNDRED FORTY-ONE BILLION FOUR HUNDRED FIFTY ONE
>> MILLION NINE HUNDRED EIGHTY ONE THOUSAND NINE HUNDRED TWENTY ONE`
>> rather than
>> 514451981921 would surely reduce the usage of redundant magic numbers
>> in the code.
>
> Please, no. We'd have endless arguments over whether it should be
> NINE HUNDRED TWENTY ONE or NINE HUNDRED AND TWENTY ONE. :-(
>
Shouldn't it be in Dutch?



More information about the Python-ideas mailing list