Is the world coming to an end?

Walter Bright newshound2 at digitalmars.com
Sun Apr 3 01:49:52 PDT 2011


On 4/3/2011 12:00 AM, Russel Winder wrote:
> On Sat, 2011-04-02 at 16:47 -0700, Walter Bright wrote:
>
>> The point is that "octal!" is not a syntax. It's completely a library construction.
>
> So remove 0b... and 0x... as well such that the compiler only knows
> about decimal.  The point here is not the removal of the C-style octal
> notation, everyone agrees that it was and remains a bad idea, the
> problem is the inconsistency of treatment of binary and hexadecimal
> compared to octal.


The 0x notation is heavily used, and so justifies a custom syntax for it. Octal 
is pretty much never used outside of setting file permission masks.

Much as I like PDP-10's and PDP-11's, they are dead and gone. <sob>


More information about the Digitalmars-d mailing list