Replace core language HexStrings with library entity

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Mon Mar 16 20:28:16 PDT 2015


On 3/16/15 6:45 PM, Daniel Murphy wrote:
> "Nick Treleaven"  wrote in message news:me6jo4$ca$1 at digitalmars.com...
>
>> 0b1010 binary literals (even though C++11 supports them)
>> 0xABCD hex literals (but useful for porting C)
>
> You can take them when you pry them from my cold, dead hands.  These are
> 1000x times more useful than octal and deserve to be built in.

Agreed.

On a higher level: there's no subset of the language that's at the same 
time sufficiently complex and sufficiently obscure to make its removal a 
net positive.


Andrei


More information about the Digitalmars-d mailing list