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

Paul Backus snarwin at gmail.com
Fri Feb 15 20:11:47 UTC 2019


On Friday, 15 February 2019 at 19:11:55 UTC, 12345swordy wrote:
> On Friday, 15 February 2019 at 18:26:34 UTC, Yuxuan Shui wrote:
>> Yes, one of my "design goal" is to maximize my chance :)
>
> Increasing the chance of this DIP being accepted by avoiding 
> code deprecation shouldn't be any DIP design goal. We shouldn't 
> reject good design just because it may break people code.
>
> [...]
>
> D should not make the fatal mistake of "persevering backwards 
> capability at all cost" scenario, that what c++ is for.

It's actually worse than that--the purpose of @named is not to 
avoid breaking *existing* code. Existing code that doesn't use 
named arguments will continue to work regardless. The purpose of 
@named is to ensure that (a) changes to existing code which have 
yet to be made (b) do not break future code that has yet to be 
written.


More information about the Digitalmars-d mailing list