Is it really a good idea for octal numbers to allow capital-O, e.g. 0O755?

Jeff Walden jwalden+es at MIT.EDU
Tue Jul 23 12:04:09 PDT 2013

var n = 0O755;

Is this something anyone wants to read?  I certainly don't!  Allowing only lowercase 'o' in octal literal syntax is inconsistent with 'x' and 'b', but on balance I think that's probably preferable to admitting this monstrosity.  :-)  (Which isn't to say I care strongly enough to spend a whole bunch of time arguing the point, only enough to raise it as a concern and see if others agree.)


More information about the es-discuss mailing list