Eric:

I disagree. If you just think of a class type enum as a class type, then what you say makes sense. But if you instead think of it as a more powerful enum then it can enhance data safety in a program.

I was speaking about the current D enum, as implemented and as designed. Regarding your enhancements, I need some examples or a better explanation to understand your point.

Bye,
bearophile

Reply via email to