Discussion Thread: DIP 1030--Named Arguments--Final Review
bachmeier
no at spam.net
Tue May 12 22:01:00 UTC 2020
On Tuesday, 12 May 2020 at 21:03:34 UTC, 12345swordy wrote:
> If the user uses named arguments then that is by definition
> opt-in. It makes no sense for the developer to opt-in for
> named arguments as well.
>
> I had already made my case regarding the "opt-in" part of the
> discussion, by pointing out that c# has named arguments by
> default and you can't opt out of it.
I wasn't going to comment on this, but...yes, it makes perfect
sense for the developer to opt in. Maybe you don't want someone
calling arguments by name.
Making a change like this *and* forcing it on everyone is a
change that belongs in D 3.0. "C# forces it on everyone" is not
an argument.
More information about the Digitalmars-d
mailing list