Annoying octal notation

Piet van Oostrum piet at cs.uu.nl
Fri Aug 21 16:44:41 EDT 2009


>>>>> Derek Martin <code at pizzashack.org> (DM) wrote:

>DM> I fail to see how 0O012, or even 0o012 is more intelligible than 012.
>DM> The latter reads like a typo, and the former is virtually
>DM> indistinguishable from 00012, O0012, or many other combinations that
>DM> someone might accidentally type (or intentionally type, having to do
>DM> this in dozens of other programming languages).  

You're right. Either hexadecimal should have been 0h or octal should
have been 0t :=)
-- 
Piet van Oostrum <piet at cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org



More information about the Python-list mailing list