I had a better proposal:<div><br></div><div><a href="http://forum.dlang.org/thread/rftboygivwmwizeywygm@forum.dlang.org">http://forum.dlang.org/thread/rftboygivwmwizeywygm@forum.dlang.org</a></div><div>optional parens everywhere except last position of function chain.</div>
<div><br></div><div>This makes it visually unambiguous what is a function vs function call and avoids all but last parens, makes @property/(-property) obsolete, and makes &foo operator un-necessary.</div><div><br></div>
<div>snippet:</div><div><pre class="post-text" style="margin-top:0px;margin-bottom:0px;font-family:Consolas,monospace;font-size:14px;white-space:pre-wrap;word-wrap:break-word;background-color:rgb(246,246,246)">When a,b,c are non-property functions:
a.b.c(); => a().b().c(); // c is called
a.b.c; // c function not called</pre></div><div><br></div><div>What do you guys think?<br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 1:47 PM, Namespace <span dir="ltr"><<a href="mailto:rswhite4@googlemail.com" target="_blank">rswhite4@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Wednesday, 5 June 2013 at 20:43:54 UTC, Namespace wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I use @property consistently because I think it is absolutely ugly and confusing to call functions without brackets or to mix both versions.<br>
</blockquote>
<br></div>
To specify this point:<br>
I think it's ugly and confusing to be able to call *all* functions without brackets. If I (or someone else) think it is appropriate I (he) should mark such functions explicit with @property.<br>
</blockquote></div><br></div>