What is the state of @property?

rikki cattermole rikki at cattermole.co.nz
Mon Aug 29 15:04:20 UTC 2022


On 30/08/2022 2:45 AM, Guillaume Piolat wrote:
> On Monday, 29 August 2022 at 08:40:51 UTC, Andrei Alexandrescu wrote:
>>
>> I think this should be immortalized and made very clear in the docs. 
>> It's an FAQ. (FWIW it's also a sign that the feature is not very 
>> helpful.)
> 
> So this is the state of @property:
> 
> - takes valuable time to discuss, over and over, for years
> - serve no purpose other than "documentation", so it could be a 
> phobos/druntime UDA
> - it creeps up in code and PR, and each time needs an explanation
> 
> This is a net negative feature.

It only does two things:

1. I can't remember the (single) semantic behavior
2. Create threads like this one

Time to go.


More information about the Digitalmars-d mailing list