DIP23 draft: Fixing properties redux
deadalnix
deadalnix at gmail.com
Sun Feb 3 00:42:51 PST 2013
On Sunday, 3 February 2013 at 08:16:08 UTC, Andrei Alexandrescu
wrote:
> * Just mentioning a function or method without parens does NOT
> automatically take its address. (This is a change from the
> current behavior.)
>
I don't understand.
> * Read properties (using @property) work as expected with the
> mention that they may NOT be called with the parens. Any parens
> would apply to the returned value.
>
Great !
> * Write properties (using @property) may only be used in the
> assignment form (no function-style call allowed).
>
Awesome.
Two things now :
- free functions annotated properties with one argument ? (are
they setter ? getters ? both ?)
- order of evaluation.
More information about the Digitalmars-d
mailing list