Poll: do you use @property semantics?
Salih Dincer
salihdb at hotmail.com
Fri Sep 30 04:53:32 UTC 2022
On Friday, 30 September 2022 at 03:20:31 UTC, Tejas wrote:
>
> To be fair, the language spec does recommend **not** using it
>
>> WARNING: The definition and usefulness of property functions
>> is being reviewed, and the implementation is currently
>> incomplete. Using property functions is not recommended until
>> the definition is more certain and implementation more mature.
>
> https://dlang.org/spec/function.html#property-functions
Interestingly, Phobos is full of them. For example, if you are
using Appender, your path goes through @property. 😀
SDB at 79
More information about the Digitalmars-d
mailing list