220 31899 <ee6468dd-02b5-4fe8-a669-8a11d753489c@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Nicol Bolas <jmckesson@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: This variable should not be named: an identifier
 (not) to remember
Date: Thu, 30 Mar 2017 07:36:09 -0700 (PDT)
Lines: 61
Approved: news@gmane.org
Message-ID: <ee6468dd-02b5-4fe8-a669-8a11d753489c@isocpp.org>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org>
 <00f80877-4564-406b-9dc5-d2d961b8dce3@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_2021_219455901.1490884569867"
X-Trace: blaine.gmane.org 1490884580 31481 195.159.176.226 (30 Mar 2017 14:36:20 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 30 Mar 2017 14:36:20 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCEKFTV6ZUMBBWVP6TDAKGQEQ7IHOMQ@isocpp.org Thu Mar 30 16:36:10 2017
Return-path: <std-proposals+bncBCEKFTV6ZUMBBWVP6TDAKGQEQ7IHOMQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f197.google.com ([209.85.223.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCEKFTV6ZUMBBWVP6TDAKGQEQ7IHOMQ@isocpp.org>)
	id 1ctbBF-0006qI-KX
	for gclcip-std-proposals@m.gmane.org; Thu, 30 Mar 2017 16:36:05 +0200
Original-Received: by mail-io0-f197.google.com with SMTP id y85sf14425588iof.23
        for <gclcip-std-proposals@m.gmane.org>; Thu, 30 Mar 2017 07:36:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=Td4MM62R1if8AbGdjh9ZS3r8RNiFrwxEx3B9hBZv03M=;
        b=QzC5fxbJIQkzg48jUKJaiXom7cEzC5WI/86PG4KAbuDstbyVvSQXS+y7x7oWrkmEEk
         Ncq5DaceZ+N+hheqkTim6WCR3DEsA0ShKSjAA/Q13XBJaYpOHVOziffPiAP9LteAVIaj
         YEGrD+l410uk02ZqreNJB4lb+mpfClLsdHqqR++OlwRsif9c2G6fC+cIT3jAGl9Ndc3h
         iELuwCS1pEZJPT2tuqelVOZxWsJ8Jp9pMfXmg/icLdFSHtx0mqKADZqiuyVXgtQT2tbK
         HGuBylaBj9YjmFJkW3fslbs0zGUGrDWG7kIQXaBQcu6T58qV0QYa0a5R8lIcRo+s0niN
         WTZQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=Td4MM62R1if8AbGdjh9ZS3r8RNiFrwxEx3B9hBZv03M=;
        b=eowFqNgTZYtSz6+EcvBCLpJknON2iO149VYf7zqgnvVWOwm/e4k/5ExSo1YzDCQPmX
         3Yf1UxePntSWJzxsucP6u4vXGvLVzu5x3tL9avnPzj486gJSEOTW1PA/sd3NP7MkpxFi
         ZpQ6ykdzFtfiRYk53TlSNmtqT/8fuXJv07d61T47XUkUYeZ7cgIJTjIiQe0VYnR4gd2l
         X40mya8ST6UoClFVD8ZDc4k14Q5K7VUZ1lCYz7zEYRVC1N+Ks61+aDTq7QzEx5W6fs9x
         SDs+UAgENE31GgtAHlY1Y98B4ng+nwloT0L+V8pfu7NKbTfd+b0KTp6mvltqazoIf07H
         ez1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=Td4MM62R1if8AbGdjh9ZS3r8RNiFrwxEx3B9hBZv03M=;
        b=Nw+/hFWXCjP8DVEcLdWKyeS8aluFF1tsWuchUP+t2KAt2SyCCgcKacvyM6DE6lLsYA
         IKVBCXz6j8cIjCHrodqgFLmOZGJfzI/uVvcP7x7T2yB99PXe2NHAewWkOKG+bOwBmsEC
         IFP86Qy6+6TQHmrgl7yOFYecVbYuBdi4N1IeZrHLjC2UpsdDHeYW3BHxa756jk7VJLJi
         ghQzRwl3zG9OiFkjyaS29z67g5Y+0xt0Imn7YVdVaoiq9/OcY1/r0usvHHf49vConvef
         SOHoN+y5Bk5aE3Pg8YDbVq3GynkpHsaDzAJ/uOB1lRjVp+mSesmoX4KVgzH3P0idgdsz
         bm9g==
X-Gm-Message-State: AFeK/H2Rid5H7vHfBl+vKAph6Dj2BrefqhAYtjrmEuAl+64Zs3H/2MVvtrMKfzwmnHWlcA==
X-Received: by 10.36.211.18 with SMTP id n18mr1299069itg.22.1490884571284;
        Thu, 30 Mar 2017 07:36:11 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.39.115 with SMTP id r106ls132458ota.10.gmail; Thu, 30 Mar
 2017 07:36:10 -0700 (PDT)
X-Received: by 10.157.38.101 with SMTP id a92mr5646otb.20.1490884570487;
        Thu, 30 Mar 2017 07:36:10 -0700 (PDT)
In-Reply-To: <00f80877-4564-406b-9dc5-d2d961b8dce3@isocpp.org>
X-Original-Sender: jmckesson@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:31899
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31899>

------=_Part_2021_219455901.1490884569867
Content-Type: multipart/alternative; 
	boundary="----=_Part_2022_861500445.1490884569868"

------=_Part_2022_861500445.1490884569868
Content-Type: text/plain; charset=UTF-8

On Thursday, March 30, 2017 at 4:12:46 AM UTC-4, Raffaele Rossi wrote:
>
> Wouldn't it be much better to have a concept of Context?
>

Why would I want to introduce a whole new scope when simply declaring an 
unnamed variable is sufficient? It's adding pointless braces for something 
that C++ gives by default.

Other languages use this syntax because they *don't* provide RAII by 
default. C++ does, so there's no need for explicit syntax to say what we 
normally have.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/ee6468dd-02b5-4fe8-a669-8a11d753489c%40isocpp.org.

------=_Part_2022_861500445.1490884569868
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Thursday, March 30, 2017 at 4:12:46 AM UTC-4, Raffaele =
Rossi wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-lef=
t: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=3D"ltr"><=
div>Wouldn&#39;t it be much better to have a concept of Context?</div></div=
></blockquote><div><br>Why would I want to introduce a whole new scope when=
 simply declaring an unnamed variable is sufficient? It&#39;s adding pointl=
ess braces for something that C++ gives by default.<br><br>Other languages =
use this syntax because they <i>don&#39;t</i> provide RAII by default. C++ =
does, so there&#39;s no need for explicit syntax to say what we normally ha=
ve.<br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/ee6468dd-02b5-4fe8-a669-8a11d753489c%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ee6468dd-02b5-4fe8-a669-8a11d753489c=
%40isocpp.org</a>.<br />

------=_Part_2022_861500445.1490884569868--

------=_Part_2021_219455901.1490884569867--

.
