Named parameters

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 25 14:13:59 PDT 2015


On 7/25/2015 6:54 AM, Andrei Alexandrescu wrote:
> On 7/25/15 6:32 AM, Jonathan M Davis wrote:
>> If Andrei weren't insisting that we use that idiom everywhere in Phobos,
>> I'd honestly just be using bools and be done with it. It adds some
>> value, but I seriously question that it's worth the extra verbosity. But
>> regardless, I'd hate to see named arguments get added to the language
>> just to clean that mess up.
>
> Honest I didn't insist, and am a bit surprised that it did catch up. -- Andrei


Well, somebody was insisting and my PR's wouldn't get pulled without converting 
to it. Bluntly, I think insisting on using Flag instead of bool is not worth the 
bother.


More information about the Digitalmars-d mailing list