On Thursday, 24 January 2013 at 04:00:44 UTC, Nick Sabalausky
wrote:
On Wed, 23 Jan 2013 22:59:38 +0100
"monarch_dodra" <[email protected]> wrote:
--------
IMO: We should be able to keep the optional parenthesis for
all functions (except maybe those that return delegates).
I'm not a fan of that as I think the need for special-casing of
functions returning delegates is not worth what I still don't
see as a
benefit.
Side note: I know at least one person here likes this [ ;) ],
but I
really hate code like:
foo.doStuff;
foo.makeFizzBar;
foo.updateBlorg;
Have to do a double-take every time. Just looks like a bunch of
no-ops, and sets off mental red flags every single time.
Things that are marked as property, however, MUST respect two
things:
1) properties should *NEVER* have parentheses.
Agreed
The irony here though is that "-property" enforces the opposite
:/ (non-properties always have parens...)