DIP 1020--Named Parameters--Community Review Round 1

Andre Pany andre at s-e-a-p.de
Sun Apr 7 08:48:44 UTC 2019


On Sunday, 7 April 2019 at 03:09:23 UTC, Walter Bright wrote:
> On 3/31/2019 5:33 AM, Mike Parker wrote:
>> [...]
>
> Here's a much simpler proposal, based on the recognition that D 
> already has named parameters:
>
> [...]

This is really great, as there is also a DIP by Sebastian which 
goes into the same direction as you proposed.
https://github.com/wilzbach/DIPs/blob/3068c4bfff44063ad34825baf8c35906c5ad787c/DIPs/DIP1xxx-sw.md

The DIP is a little bit broader,
S(a:1, b:2) should be usuable at more places too.

Kind regards
Andre


More information about the Digitalmars-d mailing list