Discussion Thread: DIP 1030--Named Arguments--Final Review
Dmitry Olshansky
dmitry.olsh at gmail.com
Wed May 13 11:12:14 UTC 2020
On Wednesday, 13 May 2020 at 00:37:51 UTC, Walter Bright wrote:
> We already have named arguments in D since the very beginning -
> the struct initialization syntax.
The key insight! Right, we always has that.
>
> This is similar to:
>
> 1. what happens if the implementer changes the types of the
> parameters?
>
> 2. what happens if the implementer changes the order of the
> parameters?
>
> Then user code breaks.
>
> If anything, this feature will motivate implementers to take
> some care to name the parameters appropriately.
More information about the Digitalmars-d
mailing list