DIPX: Enum Literals / Implicit Selector Expression

Walter Bright newshound2 at digitalmars.com
Fri Jul 1 04:53:01 UTC 2022


On 6/30/2022 2:19 AM, bauss wrote:
> I don't think D could ever settle on a single rule here that a majority would 
> agree upon.

C++ threw in the towel and added scoped enums with a somewhat different syntax. 
Now C++ has two different kinds of enums.

Having too many choices is not good language design.


More information about the Digitalmars-d mailing list