What is the state of @property?

Andrey Zherikov andrey.zherikov at gmail.com
Thu Aug 25 13:36:59 UTC 2022


On Thursday, 25 August 2022 at 13:25:58 UTC, Mike Parker wrote:
> On Thursday, 25 August 2022 at 13:18:38 UTC, Andrey Zherikov 
> wrote:
>
>> I have no objections to deprecate `@property` attribute but I 
>> believe D must support the use case when `obj.mem` expression 
>> calls `obj.mem()` function (this is usually called property 
>> functions).
>
> That works by default without `@property`, and has since way, 
> way back in the early D1 days.

I didn't know that! Shame on me 🤦


More information about the Digitalmars-d mailing list