Poll: do you use @property semantics?

Adam D Ruppe destructionator at gmail.com
Wed Sep 14 22:47:54 UTC 2022


On Wednesday, 14 September 2022 at 22:38:34 UTC, Ali Çehreli 
wrote:
> I think I heard about supporting the following as well, which 
> is currently missing:
>
>     foo.data++;

Yeah, these and

@property void delegate() foo() { ... }

obj.foo(); // should call the delegate, not be a no-op


are the two things I still hold out hope for @property to be 
useful.

But it has been like 11 years and it has never worked. I don't 
expect it ever will.


More information about the Digitalmars-d mailing list