On Wed, Apr 11, 2012 at 8:13 AM, Richard Guenther <richard.guent...@gmail.com> wrote:
>> Please don't dismiss this so easily. Of course this is just an example >> and nothing major, but I believe many people will use tab completion on >> the shell, for example, and code completion is really similar. On the >> shell, or with paths names, you start with typing something, then can >> navigate from this context you provided. That just works better when >> you say context->function instead of function(context). >> And I'm not a cognitive psychologist, but to me, seeing the context >> first when reading left-to-right is also slightly easier to read. > > Well, but mult (add (x, y), z) is easier to understand than x.add (y).mult (z) > because operator precedence is visible. that might be true but I do not think C++ wants you to write x.add(y).mult(z). -- Gaby