Implicit enum conversions are a stupid PITA
bearophile
bearophileHUGS at lycos.com
Wed Mar 24 09:46:44 PDT 2010
Andrei Alexandrescu:
See my other answers, I add just a small comment:
>while still failing to address major problems (concurrency, immutability) feels not?<
I am not yet able to say something meaningful about the concurrency design, so I don't comment about it.
Flags are not so common, so I agree they are of secondary importance.
But integral numbers, floating point values, enums, etc are not minor things. They are more important than concurrency and immutability because you use them all the time in programs, and they must be as well designed as possible, they are the foundation where all other things are written over. The less solid they are the more unstable your higher level things like concurrency will be.
Bye,
bearophile
More information about the Digitalmars-d
mailing list