Which is exactly why parens-less calls and properties with side effects suck.On Tuesday, 3 September 2013 at 19:10:12 UTC, Jacob Carlborg wrote:
On 2013-09-03 21:05, Andrej Mitrovic wrote:
You are importing symbols. And when you do "foo()" you know you're
calling a function. With the change, you'll never know what foo()
does.
This feature is never going to fly, but people are just going to argue
this forever..
With properties you never know if you're invoking a method or accessing a field:
foo.data; // call method or access field?