DIP 1030--Named Arguments--Community Review Round 1 Discussion

Sasha s at g.com
Wed Feb 12 21:53:32 UTC 2020


On Wednesday, 12 February 2020 at 20:11:14 UTC, Steven 
Schveighoffer wrote:
> My second most used language is Swift, which requires named 
> parameters. There are some cool things you can do with function 
> and parameter names when they are significant. I think it's 
> going to be a net benefit. We just have to resolve the 
> introspection issue.

Since I never used named arguments, I mean I never opted to and 
since you have, can you share about the problems, because it must 
have some problems, changing the names will cause problem, but 
how this happen in production?

Like I said above I'm curious about this feature, and why C/C++ 
which have a bigger user base never bothered about adding this 
feature.

Sasha.


More information about the Digitalmars-d mailing list