Make dur a property?
deadalnix
deadalnix at gmail.com
Thu Jan 24 23:47:35 PST 2013
On Thursday, 24 January 2013 at 18:01:30 UTC, Andrei Alexandrescu
wrote:
> On 1/24/13 9:25 AM, deadalnix wrote:
>> On Wednesday, 23 January 2013 at 23:39:50 UTC, Andrei
>> Alexandrescu wrote:
>>> We need a good DIP on this. UFCS has destroyed all arguments
>>> in favor
>>> of requiring parens. There is no question we must do this.
>>> Anyone
>>> inclined toward writing a detailed DIP?
>>>
>>
>> Let me strongly disagree. Language feature should never be
>> introduced
>> where library solution is possible.
>
> Absolutes are difficult positions in language design.
>
This is why I used should and not must.
>> And library solution is possible. And opDispatch makes it
>> possible.
>
> Problem is, a lot of code would need to add opDispatch. I don't
> think that's good language design.
>
Not at all, you can provide one via UFCS.
More information about the Digitalmars-d
mailing list