Make dur a property?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jan 24 10:01:29 PST 2013


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.

> 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.


Andrei


More information about the Digitalmars-d mailing list