Implicit enum conversions are a stupid PITA
Walter Bright
newshound1 at digitalmars.com
Thu Mar 25 22:46:33 PDT 2010
Don wrote:
> I've done it with powers of 10:
> 001,
> 010,
> 100
>
> and then wondered why my code was wrong. It's the only time in my life
> I've ever used an octal literal.
I see that and it screams BINARY to me, not decimal!
I guess I'm not sure why it never was a problem for me. It's just "oh, that's
octal, ok" and went on to more interesting things.
More information about the Digitalmars-d
mailing list