On Sunday, 27 January 2013 at 10:30:41 UTC, sclytrack wrote:
On Thursday, 24 January 2013 at 18:38:00 UTC, Adam D. Ruppe wrote:
Thinking about it, this isn't quite a full circle. It does improve a bit.

If we aren't going dip21, how about:

===

Everything stays the way it is now, except:

* if a @property is called with parens, they always apply to the return value

* -property hopefully dies.

===

If this means keeping the writeln = ""; then vote++. I've got no issues with the property syntax for methods. I actually want them. Why should properties only get the shorter syntax?




Also since you can't overload @property opDispatch and opDispatch at the same time without knowing all the property names or method names at compile time you can use the opDispatch for everything if the methods have a property like syntax.

Reply via email to