Octal literals have their uses (you Unix haters skip this one)

Brendan Eich brendan at mozilla.com
Thu Jan 12 11:07:24 PST 2012


See 
https://github.com/jashkenas/coffee-script/pull/2021#issuecomment-3468606 -- 
quoted at bottom.

/be


> *showell <https://github.com/showell>* /commented 
> <https://github.com/jashkenas/coffee-script/pull/2021#issuecomment-3468606> 
> /
>
> /3 minutes ago 
> <https://github.com/jashkenas/coffee-script/pull/2021#issuecomment-3468606>/ 
>
>
> Here's the Python PEP on integer literals for Python 3000:
>
> http://www.python.org/dev/peps/pep-3127/
>
> The main conclusion was that octal literals must now be specified with 
> a leading "0o" or "0O" instead of "0".
>
> I would hope that CS follows Python's lead on this. The PEP seems well 
> reasoned, and I think basically the same forces are at play in CS as 
> Python. Python supports these radices with literal sugar: 2, 8, 10, 
> and 16.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120112/18861d46/attachment.html>


More information about the es-discuss mailing list