From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15283 invoked by alias); 11 Apr 2012 13:23:02 -0000 Received: (qmail 15273 invoked by uid 22791); 11 Apr 2012 13:23:01 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ob0-f175.google.com (HELO mail-ob0-f175.google.com) (209.85.214.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Apr 2012 13:22:48 +0000 Received: by obbuo13 with SMTP id uo13so1390092obb.20 for ; Wed, 11 Apr 2012 06:22:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.14.36 with SMTP id m4mr21850689oec.37.1334150567327; Wed, 11 Apr 2012 06:22:47 -0700 (PDT) Received: by 10.182.92.168 with HTTP; Wed, 11 Apr 2012 06:22:47 -0700 (PDT) In-Reply-To: References: <4F7B356E.9080003@google.com> <4F7C35A3.3080207@codesourcery.com> <20120410084614.GJ6148@sunsite.ms.mff.cuni.cz> <1334078968.11195.64.camel@triegel.csb> <1334149073.3101.23.camel@triegel.csb> Date: Wed, 11 Apr 2012 13:23:00 -0000 Message-ID: Subject: Re: Switching to C++ by default in 4.8 From: Gabriel Dos Reis To: Richard Guenther Cc: Torvald Riegel , Michael Matz , Xinliang David Li , Jakub Jelinek , Bernd Schmidt , David Edelsohn , Diego Novillo , gcc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2012-04/txt/msg00413.txt.bz2 On Wed, Apr 11, 2012 at 8:13 AM, Richard Guenther wrote: >> Please don't dismiss this so easily. =A0Of 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. =A0On the >> shell, or with paths names, you start with typing something, then can >> navigate from this context you provided. =A0That 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).mul= t (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