enum behaivor. another rehash of the topic

monarch_dodra monarchdodra at gmail.com
Sun Dec 15 00:29:57 PST 2013


On Sunday, 15 December 2013 at 01:52:01 UTC, bearophile wrote:
> D enums have some faults...

I've been in enough large scale C++ projects to enjoy D's verbose 
approach. Sure, C++ is convenient and works 99% of the time. But 
all you need is for some retard to create a Global enum 
containing things like the words "Yes, No, True, False, Red, 
Black, White", and then he's ruined it for *everyone* on the 
project.


More information about the Digitalmars-d mailing list