220 31867 <5300593.6yK5rIAihH@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: This variable should not be named: an identifier
 (not) to remember
Date: Tue, 28 Mar 2017 15:54:41 -0700
Lines: 31
Approved: news@gmane.org
Message-ID: <5300593.6yK5rIAihH@tjmaciei-mobl1>
References: <985b9b2a-c734-45eb-95f4-db4dc0d309a1@isocpp.org> <2009881.g1rS942AcB@tjmaciei-mobl1> <A84B1DA8-959F-41CF-AAFE-52F7C56D8056@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1490741687 18462 195.159.176.226 (28 Mar 2017 22:54:47 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Tue, 28 Mar 2017 22:54:47 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBNGT5PDAKGQEKZZIXNA@isocpp.org Wed Mar 29 00:54:42 2017
Return-path: <std-proposals+bncBCB4TK757YBRBNGT5PDAKGQEKZZIXNA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-wr0-f197.google.com ([209.85.128.197])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBNGT5PDAKGQEKZZIXNA@isocpp.org>)
	id 1ct00e-0003vM-1T
	for gclcip-std-proposals@m.gmane.org; Wed, 29 Mar 2017 00:54:40 +0200
Original-Received: by mail-wr0-f197.google.com with SMTP id y77sf30307464wrb.22
        for <gclcip-std-proposals@m.gmane.org>; Tue, 28 Mar 2017 15:54:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:in-reply-to:references:mime-version
         :content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=MVhID6L18pyeixUcyIyyqjmivf8hTnfpcZpKH2MUzXY=;
        b=m+a9uQK1OsGQ8ZRF21nqWKzg8cz5lZ7RL5Wv4T77TzFmM0A5bG8NtDIMXSCqoPFQnI
         gyU/+Zc+EgTAgI0Cw/SEPepl7KYKo5AJt1mzqVuV4Gg2WTA0LXn5JCHI/jTtcbOy1reO
         Qx9EbM6njG6xJPWYMnkdTOG2m+HaBwJB9DWbG3+q23CFDQMNTYigANgnR0RG6NGB9QAE
         lKzqW93TxETmSfKlLS4GUgjETY1P0yJ77pEyGAu9Ytzn7vG0Eya98rh1Fy2bmlLAEizI
         4Wscj/RhjWW4/FaanY0YcJzQKQeWLJOoAPDMgjzB+JPee+EIANHsKGbqiKcCBNVUhJIH
         P/Lw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to
         :references:mime-version:content-transfer-encoding:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=MVhID6L18pyeixUcyIyyqjmivf8hTnfpcZpKH2MUzXY=;
        b=ESbQSPnV3kUIN++31+iwG0e9v5D7IZYuznjxa54Vak7th3luMH5sapnfJwPL6FBxLo
         tuy1U3hx5QV+8YPninYTJwaQ9A8TFwXZ6dxLupCn3qCmLlDscgzBElz6b/bKEwikKnFR
         KC+rk8rNbujcIzZF5/+VgQWvHc/cF7a/3eycCpXjmAKu5XKSFeZNTP+rlAsPCXi/bNl/
         Sbcf2s1FVyzCE57IGnp9ISlWO5foxA822vn8anjBvdVWRS46cfFaACPenX+cKBDodwqR
         r0fdUsL6oPvhIEpQ34vPFTDbT6N73JDFEcN/sRclz4asRHVrI2tDY/dMh6c903JvY7um
         Zh4 
X-Gm-Message-State: AFeK/H1gq0AN5wnFCR+fLsQOh1thEnddQgOaDP6nrAR7nljChopNnZaJcRSdDcGYK4F2Zw==
X-Received: by 10.28.198.12 with SMTP id w12mr1003226wmf.0.1490741686138;
        Tue, 28 Mar 2017 15:54:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.213.129 with SMTP id m123ls2054679wmg.26.gmail; Tue, 28 Mar
 2017 15:54:44 -0700 (PDT)
X-Received: by 10.223.164.210 with SMTP id h18mr11992030wrb.128.1490741684797;
        Tue, 28 Mar 2017 15:54:44 -0700 (PDT)
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [78.47.120.188])
        by mx.google.com with ESMTP id b15si2875419wra.308.2017.03.28.15.54.43
        for <std-proposals@isocpp.org>;
        Tue, 28 Mar 2017 15:54:43 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) client-ip=78.47.120.188;
Original-Received: from tjmaciei-mobl1.localnet (unknown [134.134.139.78])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 5B00811B833
	for <std-proposals@isocpp.org>; Tue, 28 Mar 2017 15:54:43 -0700 (PDT)
In-Reply-To: <A84B1DA8-959F-41CF-AAFE-52F7C56D8056@gmail.com>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 78.47.120.188 as permitted sender) smtp.mailfrom=thiago@macieira.org
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:31867
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/31867>

On ter=C3=A7a-feira, 28 de mar=C3=A7o de 2017 13:27:25 PDT Alberto Barbati =
wrote:
> > // Fetch the instance type of the receiver into result register.
> > __ movp(result, FieldOperand(string, HeapObject::kMapOffset));
> > __ movzxbl(result, FieldOperand(result, Map::kInstanceTypeOffset));
>=20
> I don't see it much easier to read than:
>=20
>     m_ movp(result, FieldOperand(string, HeapObject::kMapOffset));
>     m_ movzxbl(result, FieldOperand(result, Map::kInstanceTypeOffset));
>=20
> especially when the macro m_ expands to some variation of "masm". Just my
> opinion.

It does to me, because the space is not as visible, so my first glance was=
=20
"m_movp", which is not at all what was meant.

--=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

--=20
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 e=
mail 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/5300593.6yK5rIAihH%40tjmaciei-mobl1.

.
