Ary Borenszweig wrote:
> But in the case of name vs. name() it's much simple: it's a really
> simple convention *that already exists in almost every other language*.
> Ok, people can choose not to follow it, just like naming functions with
> silly names, or not adopting naming conventions, but... why would they
> do that?

+1

It's pure convention that 'a = x.b' reads a property, 'x.b = a' writes a
property, and 'a + b' performs addition.  However, these are /useful/
conventions that aid understanding.  The 'a + b' case is apparently
useful enough to merit special language support, so why not the others?

And if properties somehow manage to solve the rvalue return problem, so
much the better.


-- 
Rainer Deyke - rain...@eldwood.com

Reply via email to