Implicit enum conversions are a stupid PITA
bearophile
bearophileHUGS at lycos.com
Fri Mar 26 07:06:19 PDT 2010
Nick Sabalausky:
> I fear it's probably too late for that for D, but I do like it very much. If
> I ever make a C-style langauge myself, I'll definitely consider something
> like that.
Adding to dmd a few warnings activated by a compiler switch that help avoid bugs in porting C->D2 is an additive change, it's fully backwards compatible, so it can be added with no problems, if there's desire and time to implement it.
Bye,
bearophile
More information about the Digitalmars-d
mailing list