Walter & Andrei: @property

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 16 07:52:26 PDT 2015


On 4/16/15 7:40 AM, John Colvin wrote:
> On Tuesday, 14 April 2015 at 11:54:11 UTC, John Colvin wrote:
>> This is a specific request to Walter and Andrei, not a call for yet
>> another massive debate. I'm pretty sure every view has been heard
>> already, many times over.
>>
>> Walter/Andrei, can you take a final decision on this? You put a lot of
>> effort in to DIP23 and it's just sitting there. It's a subjective
>> topic that's been beaten to death by the community multiple times;
>> there will never be consensus so it's a job for leadership.
>>
>>
>> P.S. I noticed something missing from DIP23:
>>
>> How do I take an alias of an @property function? Or a 0-arg member
>> function? Or a 1-arg free function?
>> Another way of putting it would be: is there a way to refer to the
>> name of a function that doesn't require parens? Name as in pass-by-name.
>
> For cross-referencing purposes, an unpleasant consequence of the current
> situation: http://forum.dlang.org/post/rfrhuipeaoswqsunutal@forum.dlang.org

Yah, saw that. It's an unforced error in the design of D. -- Andrei


More information about the Digitalmars-d mailing list