Interesting rant about Scala's issues
bearophile
bearophileHUGS at lycos.com
Fri Apr 4 11:47:39 PDT 2014
Meta:
> Also, if I remember correctly, min and max are terribly
> broken for enums in the first place.
Yes, perhaps they need to be deprecated.
Also, there is a ugly name clashing between enum field names and
the enum properties. The solution is to group them into a single
namespace (like "meta"), and then forbid an enum member with the
name of the namespace.
https://d.puremagic.com/issues/show_bug.cgi?id=4997
Unfortunately overall the design of D enums has more holes than
swiss cheese. This is why in a recent post I said to Andrei that
perhaps there are still several little breaking changes to do to
D, and they need priority over additive enhancements.
Bye,
bearophile
More information about the Digitalmars-d-announce
mailing list