On Thursday, 8 December 2016 at 22:09:14 UTC, Jonathan M Davis
wrote:
On Thursday, December 08, 2016 16:54:57 Adam D. Ruppe via
Digitalmars-d- learn wrote:
[...]
Yeah, it's pretty common for folks to slap @property on
functions to make it clear that it's intended to be used as a
property and thus is a getter or setter. So, it serves a
purpose from the standpoint of documentation. But at this
point, it doesn't make much differently on the technical level.
The differences with typeof and stuff like
std.traits.FunctionAttributes are what would be different. You
can use the property syntax whether @property was used or not.
[...]
Thank you very much for your detailed explanation.