DIP 1019--Named Arguments Lite--Community Review Round 2
Atila Neves
atila.neves at gmail.com
Sat Jun 8 11:53:01 UTC 2019
On Thursday, 6 June 2019 at 20:04:15 UTC, Walter Bright wrote:
> I'll reiterate what I wrote for DIP1020
> https://digitalmars.com/d/archives/digitalmars/D/DIP_1020--Named_Parameters--Community_Review_Round_1_325299.html#N325627
>
> ---
>
> <snip>
> One nice thing about this is the { } struct initialization
> syntax can be
> deprecated, as S(a:1, b:2) can replace it, and would be
> interchangeable with
> constructor syntax, making for a nice unification. (Like was
> done for array
> initialization.)
This, plus what Timon added, seems to be a far superior
alternative. I like it.
More information about the Digitalmars-d
mailing list