Discussion Thread: DIP 1030--Named Arguments--Final Review

Jonathan M Davis newsgroup.d at jmdavisprog.com
Sat May 16 21:14:52 UTC 2020


On Saturday, May 16, 2020 2:57:06 PM MDT Walter Bright via Digitalmars-d 
wrote:
> Sorry about that. But I suspect you'll like it better than that awful
> `struct Yes`:
>
> https://dlang.org/phobos/std_typecons.html#Yes

Marginally. Personally, I've always been of the opinion that just using true
and false directly works well enough, but I seem to be in the minority
around here in thinking that. Either way, while FlagName.yes is bad enough,
Yes.flagName is completely backwards and ugly. So, it certainly won't hurt
my feelings any if that goes away because of this.

- Jonathan M Davis





More information about the Digitalmars-d mailing list