Vision for the D language - stabilizing complexity?
ag0aep6g via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jul 9 12:02:52 PDT 2016
On 07/09/2016 07:09 PM, Seb wrote:
> I agree that overloading keywords in different contexts in problematic.
> I think every newbie is surprised when he stumbled across the two
> different usages of enum (finite, custom lists & CT evaluation),
`enum e = 1;` can be seen as a shorthand for `enum {e = 1}`. Makes
perfect sense then. Though I wouldn't be surprised if there are actually
subtle differences between the two.
More information about the Digitalmars-d
mailing list