DIP 1030--Named Arguments--Community Review Round 1 Discussion

aliak something at something.com
Tue Feb 11 00:58:23 UTC 2020


On Tuesday, 11 February 2020 at 00:40:58 UTC, Adam D. Ruppe wrote:
> On Tuesday, 11 February 2020 at 00:03:01 UTC, aliak wrote:
>> I do agree that having something like 
>> ParametersWithNamesAndDefaultArgs is infeasible.
>
> I posted this earlier in this very thread:
>
> https://forum.dlang.org/post/cfcgecteoeynumsamjwe@forum.dlang.org
>
> It is not only feasible... but trivial. 
> ParametersWithNamesAndDefaultArgs is a *built-in language 
> feature* - see 5.6 under here 
> https://dlang.org/spec/expression.html#IsExpression
>
> Forwarding this stuff is not difficult at all.

Oh. Indeed :) Seems simple enough.

But that darned __parameters thing. It's the devil. Reminded me 
of the first time I encountered that insomnia inducer, courtesy 
of H. S. Teoh (thanks HST) - 
https://forum.dlang.org/post/mailman.1565.1379620490.1719.digitalmars-d-learn@puremagic.com


More information about the Digitalmars-d mailing list