Number literals (Was: Re: Case Range Statement ..)
Walter Bright
newshound1 at digitalmars.com
Wed Jul 8 23:10:32 PDT 2009
BCS wrote:
> I think this strand of the thread (and what I was talking about) was not
> about octal but about complexity in the lexical design. That bugzilla
> issue was brought up as an issue and IS the first point that comes to my
> mind in that direction. disallowing leading or trailing decimal points
> would fix that issue and I for one would approve of it on that grounds
> as well as the the other advantages (it's harder to read wrong for one
> thing).
>
Don't use them if you don't like 'em. Since these are the same rules C
and C++ have used for decades, and nobody seems to have a problem lexing
them, I'm not sure it's a problem worth worrying about.
More information about the Digitalmars-d
mailing list