Implicit enum conversions are a stupid PITA

Nick Sabalausky a at a.a
Thu Mar 25 23:26:18 PDT 2010


"BCS" <none at anon.com> wrote in message 
news:a6268ff11b928cc9a720a2994a6 at news.digitalmars.com...
> Hello Walter,
>
>> bearophile wrote:
>>
>>> Nope, here I have suggested to turn leading zeros in syntax errors:
>>> http://d.puremagic.com/issues/show_bug.cgi?id=3837
>>>
>> Right, but that doesn't help those who wish to use leading 0s.
>>
>
> Who wants to do that?
>

At this point, I see that other people have mentioned in other branches of 
the thread that they would like to use loeading zeros as an alternate to 
spaces for visual alignment.

But, I think think is one case where I can put words in people's mouths 
without risk of being wrong: I'm pretty sure even they would much rather 
leading zeroes be disallowed than have it silently change the literal's 
value.





More information about the Digitalmars-d mailing list