|
![](/i/fill.gif) |
>>I wouldn't care for this. Think of vector member access...vec.x, vec.y,
>>etc...vec.x() just adds more visual noise.
>
> If you read my article completely I suggested adding support for calling
> member functions without parentheses (supposing they don't take parameters).
> There's nothing problematic with that.
Eiffel does this...
(Can be slightly confusing at times... but then, so can most things!)
Not sure what you do about vec.x := 7... (But then, for certain objects
it might be that you can't change one attribute without changing another
as well... can't think of a good example right now...)
Post a reply to this message
|
![](/i/fill.gif) |