Octal literals have their uses (you Unix haters skip this one)
herby at mailbox.sk
Thu Jan 12 10:48:15 PST 2012
Would it be hard to bring in Smalltalkish 8r377? Another (and similar to 0)
special char for specific radix - well, wouldn’t it be better to include a
letter for all radixes (CoffeeScript can maybe take it on, too).
From: Brendan Eich
Sent: Thursday, January 12, 2012 7:21 PM
To: Axel Rauschmayer
Subject: Re: Octal literals have their uses (you Unix haters skip this one)
Sorry, are you seriously proposing that Node.js users when they specify file
permissions should manually write that out? Come on! Sorry, that's just way
too verbose and ugly.
And performance can be an issue, but the readability and writability
problems are enough.
January 12, 2012 10:10 AM
parseInt("377", 8)? Assuming that performance isn’t an issue.
es-discuss mailing list
es-discuss at mozilla.org
More information about the es-discuss