Octal literals: who uses this?

Walter Bright newshound1 at digitalmars.com
Sat Mar 14 11:43:19 PDT 2009


Stewart Gordon wrote:
> Walter Bright wrote:
> <snip>
>> The octal literals are done the way C does them. The reason they are 
>> there are for when translating C code to D code, obscure bugs are not 
>> introduced.
> 
> How would making them illegal not achieve this aim?

The only point to making them illegal would be to eventually remove them 
completely, which puts us back to \00 meaning something different in D 
than in C.



More information about the Digitalmars-d mailing list