DIP 1019--Named Arguments Lite--Community Review Round 2

Timon Gehr timon.gehr at gmx.ch
Fri Jun 7 02:09:55 UTC 2019


On 07.06.19 00:38, Jonathan Marler wrote:
>>
>> I'd probably not use it myself so I'm meh on having it in the 
>> language... but I don't think the breakage is a big deal. You can just 
>> not use it in your code and be protected against arbitrary changes.
> 
> Again...do you also apply this same argument to having private fields in 
> structs/classes?

This analogy has no merit. Why would function arguments need a notion of 
encapsulation? They are part of the interface by definition.


More information about the Digitalmars-d mailing list