<br><br><div class="gmail_quote">On Wed, Jun 23, 2010 at 5:45 PM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:andrei@erdani.com">andrei@erdani.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I think it should be a property. I followed the convention that stuff that doesn't change "this" is a property.<br>
<br>
Andrei<br></blockquote><div><br>But property setters are often supposed to change 'this'? Honestly I can hardly see much utility in @property. For example, Q_PROPERTY in Qt adds value. It is introspectable, can fire a notification when changed, optionally shows up in the designer, is resettable to a default value and more. Is @property only useful for disambiguating the case when a function returns a callable?<br>
</div></div>