Project Elvis

Atila Neves atila.neves at gmail.com
Tue Nov 7 13:36:19 UTC 2017


On Monday, 6 November 2017 at 19:13:59 UTC, Adam Wilson wrote:
> On 10/28/17 04:38, Andrei Alexandrescu wrote:
>> [...]
>
>
> C# has extensive experience with this operator and I think it 
> would be wise to study the history of what they did and why the 
> did it. NOTE: I understand that other languages have it, and 
> there are variations on the theme, but C# has many similarities 
> to D and extensive "in practice" idioms.
>
> [...]

My problem with a null coalescing operator is that it bakes in 
one particular monad into the syntax, and it's not even a monad 
that's that useful for most idiomatic D code I've seen or 
written. I'd rather have do notation or something like that.

Atila


More information about the Digitalmars-d mailing list