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

12345swordy alexanderheistermann at gmail.com
Tue Feb 11 18:04:39 UTC 2020


On Tuesday, 11 February 2020 at 17:58:48 UTC, rikki cattermole 
wrote:
> On 12/02/2020 6:46 AM, 12345swordy wrote:
>> Opt-in named arguments? Makes the named arguments dead on 
>> arrival.
>
> If you start with opt-in, you can make it the default later on 
> without breaking code.
>
> If you start with as default you cannot make it opt-in without 
> breaking code.
>
> To not consider an opt-in design is quite frankly over 
> confident that other languages experiences will map 1:1 to D.

Yes, I remember and even participate in one of the dip that makes 
it opt-in. I consider that a terrible idea for reasons that I had 
already gave.

-Alex



More information about the Digitalmars-d mailing list