> If we were willing to add octal with a clear prefix I would be fine with 
> that, for consistency with hex, I'd lean towards 0o<...>, but I'm open to any 
> suggestions that people may wish to add.  Personally I'd also like a binary 
> form, a la 0b....

+1 to both. Then we have three kinds of non-decimal literals, for example: 
0b1011, 0o732 and 0xFFFF.

For long literals, Java has started to make "_" as a separator legal, that 
would be nice to have, too:
     let aLotOfMoney = 120_327_756_228;

-- 
Dr. Axel Rauschmayer
[email protected]

home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to