On Tuesday, 20 November 2012 at 18:06:22 UTC, Rob T wrote:
Here's another way to test if the idea is sound, by asking a
few questions:
After thinking about it a bit more, I think there may be two
conflicting notions:
a) The use of optional parenthesis.
b) The @property switch, which allows a function to emulate an
attribute, namelly, allow writting "bla = a.foo;" or "a.foo =
5;", when "foo" isn't actually an attribute of a.
I *could* see parenthesis being optional, but I'll never accept
"a.foo = 5" calling "a.foo(5)" if "foo" isn't attribute qualified.