DIP 1019--Named Arguments Lite--Community Review Round 1

12345swordy alexanderheistermann at gmail.com
Mon Feb 18 05:08:43 UTC 2019


On Sunday, 17 February 2019 at 21:04:23 UTC, Yuxuan Shui wrote:
> After thinking about the feedback so far, I currently plan to 
> make these changes to this DIP:
>
> * For reordering: I want to step back from reordering. It was 
> add as an after thought, and turns out to be way more involved 
> than I expected, and it is really not part of my goal for this 
> DIP.
>
> * For @named: Since there exist templates like 
> ParameterIdentiferTuple, it shouldn't be hard to write a 
> template to automatically wrap non- at named functions to make 
> them @named. So this really is not a problem.

It is an issue if you are concern about compile time cost and 
generating unwanted verbiage. Templates despite powerful have a 
cost associated with them.

-Alex




More information about the Digitalmars-d mailing list