Poll: do you use @property semantics?
Guillaume Piolat
first.last at spam.org
Wed Sep 14 22:22:27 UTC 2022
On Wednesday, 14 September 2022 at 19:20:04 UTC, Rikki Cattermole
wrote:
> Recently Walter has been wanting to remove language features
> that don't need to be kept to simplify the language.
Please consider "pure". :)
> It seems everybody agrees that binary literals are not a worthy
> candidate for removal
Don't care.
> I was going to post this yesterday, but it turns out I am not
> alone in thinking this can be removed safely (can be swapped to
> a UDA to prevent code breakage without any language additions).
>
> So, who uses @property semantics?
>
> https://dlang.org/spec/function.html#property-functions
Not me. And if I see one, I remove it.
Still, there are 44 @property occurence in my whole code base
(because stuff get copy-pasted) that I never really wanted there.
More information about the Digitalmars-d
mailing list