Annoying octal notation
Jan Kaliszewski
zuo at chopin.edu.pl
Sat Aug 22 16:44:35 EDT 2009
22-08-2009 o 21:04:17 Derek Martin <code at pizzashack.org> wrote:
> On Sat, Aug 22, 2009 at 10:03:35AM +1000, Ben Finney wrote:
>> These human programmers, whether newbies or long-experienced, also deal
>> with decimal numbers every day, many of which are presented as a
>> sequence of digits with leading zeros — and we continue to think of them
>> as decimal numbers regardless. Having the language syntax opposed to
>> that is
> ...consistent with virtually every other popular programming language.
Probably not every other...
Anyway -- being (as it was said) inconsistent with every-day-convention --
it'd be also inconsistent with *Python* conventions, i.e.:
0x <- hex prefix
0b <- bin prefix
Cheers,
*j
--
Jan Kaliszewski (zuo) <zuo at chopin.edu.pl>
More information about the Python-list
mailing list