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

Adam D. Ruppe destructionator at gmail.com
Sun Feb 9 01:07:03 UTC 2020


On Sunday, 9 February 2020 at 00:56:15 UTC, Jon Degenhardt wrote:
> (Specifically, that a parameter name cannot be changed without 
> risk of breaking existing callers.)

Does it change your view at all that parameter names are *already 
public* per both spec and reality and have been for a long, long 
time? (my web.d framework used their availability as early as 
2012ish)

See item #6 here: 
https://dlang.org/spec/expression.html#IsExpression

"the parameter sequence of a function, delegate, or function 
pointer. This includes the parameter types, names, and default 
values."

And, of course, documentation though that isn't strictly part of 
the compiler breakage.


More information about the Digitalmars-d mailing list