Properties

IchorDev zxinsworld at gmail.com
Sat Jul 20 17:05:57 UTC 2024


On Thursday, 18 July 2024 at 20:31:31 UTC, Quirin Schroll wrote:
> As with function pointers and delegate, calls require parens, 
> even if empty.

The way I see `@property` used (and the way I use it also) is to 
mark functions as being intended to be used like fields: `a.x`, 
`a.x = b`. This suggestion would break that meaning without 
functionally improving properties at all. I think the way 
properties work at the moment is better than the suggested 
functionality.


More information about the dip.ideas mailing list