D grammar is Wild

Stefan Koch uplink.coder at googlemail.com
Thu Feb 14 22:14:03 UTC 2019


On Thursday, 14 February 2019 at 22:12:22 UTC, Luís Marques wrote:
> There's lots of stuff I don't understand in the D grammar, or I 
> only understand after a very significant effort. What's, say, 
> this stuff with `Wild: Ng`?
>
> https://dlang.org/spec/grammar.html#Wild
>
> Shouldn't the meaning of the bold be specified? D could really 
> use a proper spec.

Wild stands for wildcard, an is what people know as `inout`.

I agree though that it should be renamed.


More information about the Digitalmars-d mailing list