Discussion Thread: DIP 1030--Named Arguments--Final Review
Walter Bright
newshound2 at digitalmars.com
Wed May 13 00:37:51 UTC 2020
We already have named arguments in D since the very beginning - the struct
initialization syntax.
Not a single person has complained about breakage when implementers changed the
names of the struct fields.
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