220 40052 <A4018A9D-A9C5-4C69-9984-AB434336B4AD@hsr.ch> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Peter Sommerlad <peter.sommerlad@hsr.ch>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Named parameter requirements
Date: Mon, 27 Aug 2018 20:52:57 +0200
Lines: 113
Approved: news@gmane.org
Message-ID: <A4018A9D-A9C5-4C69-9984-AB434336B4AD@hsr.ch>
References: <1535143590.2866704.1485082464.62271AE8@webmail.messagingengine.com> <7178be8f-9579-6887-a49c-9321a7b39122@gmail.com> <CAHSYqdbPbPrEYJM2okzTaSZArBxv3FoCdjgNzvn5LwSgxJATMg@mail.gmail.com> <a15f1777-35e9-52b4-fd1f-fdb8ed8e75c6@gmail.com> <CAHSYqdbGjgS6t3owit3fed29SoNS1rdcGg2xnihVM8v_rTgHLQ@mail.gmail.com> <a457c164-ac0a-3ca6-2a98-1325af137ce9@gmail.com> <CAC+0CCOoxSh+kL12v3vWUpt+ZsYPGOw=KPjyWYtiR3dabWd8fw@mail.gmail.com> <6df3c211-6190-5289-ff04-ed4511d9f9c7@gmail.com> <CAHSYqda04B+Fukj64i-4d__EW27dZ6g5xNYhVEGOut_bdywmAQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0 (1.0)
Content-Type: multipart/alternative;
	boundary="Apple-Mail-6AC85C10-DFD4-4F40-9268-1275056CE0CB"
Content-Transfer-Encoding: 7bit
X-Trace: blaine.gmane.org 1535395862 29293 195.159.176.226 (27 Aug 2018 18:51:02 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 27 Aug 2018 18:51:02 +0000 (UTC)
Cc: "jake.arkinstall@gmail.com" <jake.arkinstall@gmail.com>
To: <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD3OHQEN4AJBBE4RSHOAKGQEBCWU4CQ@isocpp.org Mon Aug 27 20:50:58 2018
Return-path: <std-proposals+bncBD3OHQEN4AJBBE4RSHOAKGQEBCWU4CQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ed1-f69.google.com ([209.85.208.69])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBD3OHQEN4AJBBE4RSHOAKGQEBCWU4CQ@isocpp.org>)
	id 1fuMbK-0007Tv-3W
	for gclcip-std-proposals@m.gmane.org; Mon, 27 Aug 2018 20:50:58 +0200
Original-Received: by mail-ed1-f69.google.com with SMTP id 57-v6sf5418831edt.15
        for <gclcip-std-proposals@m.gmane.org>; Mon, 27 Aug 2018 11:53:08 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1535395988; cv=pass;
        d=google.com; s=arc-20160816;
        b=Q8NdwbmU9VvZNLtwRzoIeUZ6MvZuJt5OaX0TUWY39VmZDV9E4xmFCQWVh4BS3XiN4w
         uzsVt41Wo70ve5y8eNLweh0E3TC5Yr5V8GUIPmg6H7swt/5ZQcdQiN+qWsNT8J31pcZD
         SPFnEBc3n/RyfSpw/2nrWAvqGnQHVPT/Xmo83WYU7V5GYc4Td9kpPYSLtMb9yEWZDx7/
         tIZgf5Lh/uQrm7ZS873+TwnhGuHVTvFv9TtccLHUUgpQ4LccC7zg1bZh2bdZs6jj2/wG
         3Qq6QH5+yEASQqyQmQ2kCEJx5PSa0d337mhKW8PNFJr23qPd+VK3Ntcb4rg6mWVAjG4t
         ygjg==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:references:message-id
         :content-transfer-encoding:cc:date:in-reply-to:from:subject
         :mime-version:arc-authentication-results:arc-message-signature
         :dkim-signature:arc-authentication-results;
        bh=X6haZF++p1y4xhqG74fM+YJ/CXwhMcV3lqF4IeyMRhU=;
        b=pMJNAq4xwyMdtWx9oTyvTqcAgU+0I/WpK/W6EGRGltC5hUUITOndg5B6Trj0RTauLi
         HOl57QMBFJLuOCdLyj5CHy0mT6hwmZYu5G/NGt+lGrzLrul3lHATkRH+9AgjOeLGVNw/
         wuZEvpBDzVABZAkQX+ZbYodf6HDBHih3FFZPaaycdSqWx6tzJWlN5J9X/adho4y11fS4
         peyz7utl4YsYImsqX4+tSHpfdudNvNWiUqsua+8u30v6ACIf74FK7hKUibZRQ4wl+OwN
         FGSh3dbrrXLGJxuwffNqa/9RuFgZ8OwCuRsF7Yyfy5ZX344Mo5OUcOrxWa3vCdsE39Ki
         x0Dg==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of peter.sommerlad@hsr.ch designates 2001:620:130:a036::32 as permitted sender) smtp.mailfrom=peter.sommerlad@hsr.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=X6haZF++p1y4xhqG74fM+YJ/CXwhMcV3lqF4IeyMRhU=;
        b=pK91ro8kfSBVu92GSofrFCUoHfWoYgcuL/duWdH775kBgZgXtdErAl1+fNAEUYLPN0
         +ggEPm2WRRbx0AWGWHrg/3QzxqGBrEOcGCZmjjmm3kG7oM75nhjpcvq24oVz6pFV9jVE
         ps3jmoq1RdqxaRrAa53kwe3j22596LmWhNgtKNeMzzxst5k/ODh3GZn5lZaOiGo1BR5h
         lIt6XhnPJ9W6xrNVANdR0Y10lUvNa5/NqpJkctiNBtYmhRaHm9NDCu+oDqKDWlqLRQJ1
         9vSNvxpEL44UQtdxyjbpwHReuUwws+1qmcJKfufvGmmREjgwknpLcUb0FgCNiiCsX8Gt
         ceRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to
         :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=X6haZF++p1y4xhqG74fM+YJ/CXwhMcV3lqF4IeyMRhU=;
        b=f/O3ounS1VCrwS+LT202rjyJmakY2buS3Xyiq7HXKpmGyYav3xdUJcrQFzqFi85Gmo
         hwlHFF1/h4xIIqoonCsW7Kxr0HF4u8itiCF7Xmnfgn/tmO51g15bxooYpnqwSY/S9QvJ
         gvnNbijwD8QTUnhwwhsMuCT/SauMVLRopvgkJJCsNccO5V2FTmQiRs69WqSwCYGkDvn5
         aNwwXXyRDCV4t38XeXaE8KmAuPUNiI05JZWl0RIgzSF2OnSW+XNSERX9srY7er8xDM/d
         elZMUSNY+3rnjB8ykcEluySTjmsJm9ywKLJUbAUzydFQ/JGMrAPT5Hk3x/UJwvj4Kch8
          
X-Gm-Message-State: APzg51Cs2m7CACTQQ7UstIucaQWPPySzLgce75bG18SHLVFGwnCwiUMG
	HsdWRK3FRF9cB2cYNk5kyPUSKw==
X-Google-Smtp-Source: ANB0VdYDhhbiO8fewXn0SZf98PBSb3MMZ+21pEnXYCd9k9GTQ4snqKLzM8RzGTByOUhTciEv7CifCA==
X-Received: by 2002:a50:929d:: with SMTP id k29-v6mr3853282eda.5.1535395988602;
        Mon, 27 Aug 2018 11:53:08 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a50:f5e3:: with SMTP id x32-v6ls11854edm.0.gmail; Mon, 27
 Aug 2018 11:53:07 -0700 (PDT)
X-Received: by 2002:a50:bb69:: with SMTP id y96-v6mr18712471ede.10.1535395987392;
        Mon, 27 Aug 2018 11:53:07 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1535395987; cv=none;
        d=google.com; s=arc-20160816;
        b=dQsXYuhgGZW3s0/DrQSaEnMYstBEDWIettpDMLFDWw1e77e6BIkz6vhCBmHI4lReco
         yd42WRSqzE23ZHp18S5M7tqRLunjYIzUchDsaDoIHRqN/7aJNUTJMkjm1N6hECdIuzoP
         C3iLmgKFlFE3Yg7/IwSym+EdR1KZYgvQzwi2IVAcAcFvhLWIlgaRMYRnK/Mm01Wu84Jn
         FpRgms0abk6d+XMSnfUt6tUSwcR6YXqagNMSEXMa7sJo33XjRC7GPVqJDM3vNkLKsde+
         MwrXblLlYU831hLQy8l/He0mwZ6wyajSq4pEdqzXQ8QPytyhOPe2rCopJnqN3LxhXBOj
         3E4w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:references:message-id:content-transfer-encoding:cc:date
         :in-reply-to:from:subject:mime-version:arc-authentication-results;
        bh=VZmjNRiwmJEZAi6kY3DZRSq1lOeuT/bFemJVndYPi+w=;
        b=0jydXmYNsYgx+NqTjEcHhOjxcaqg2lWfjtUA+PrKku4EoDFcpPQjOCua33+lKJ5O67
         YNAUWEciCk+kQ2Ev4H9l2uhUHiPx0XLltjoElWLaGcqCLhgupCA9c3C1APndJaxYpT4w
         UhPRChuP/PXSJprsY81Xe9Rinzsv5yssZNOHd/ATUW34AYXjfV1prlHQKv56ZzqtnDHY
         eET3UgvJWJqbRKdO6qIgz0fcEAllKkOvYJu8lNoskVQIbXNr6BGlG80RxNCAt7VYgBv8
         nqg8YuePu7CtJsj8MRUF79CIiRy0fwOJnw8y6k4ChLbdAb2q0tH4Tn7FIRJFUZXC+8z6
         0JrA==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of peter.sommerlad@hsr.ch designates 2001:620:130:a036::32 as permitted sender) smtp.mailfrom=peter.sommerlad@hsr.ch
Original-Received: from mx2.hsr.ch (mx2.hsr.ch. [2001:620:130:a036::32])
        by mx.google.com with ESMTPS id y27-v6si2517edi.180.2018.08.27.11.53.07
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 27 Aug 2018 11:53:07 -0700 (PDT)
Received-SPF: pass (google.com: domain of peter.sommerlad@hsr.ch designates 2001:620:130:a036::32 as permitted sender) client-ip=2001:620:130:a036::32;
Original-Received: from localhost (localhost [127.0.0.1])
	by mx2.hsr.ch (Postfix) with ESMTP id 9F60023C4CF3;
	Mon, 27 Aug 2018 20:53:06 +0200 (CEST)
Original-Received: from mx2.hsr.ch ([127.0.0.1])
	by localhost (mx2.hsr.ch [127.0.0.1]) (amavisd-new, port 10024)
	with LMTP id Y8Soc2AKLAcr; Mon, 27 Aug 2018 20:53:04 +0200 (CEST)
Original-Received: from webmail.hsr.ch (sid00233.hsr.ch [152.96.21.233])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by mx2.hsr.ch (Postfix) with ESMTPS id 73A0323C4CF2;
	Mon, 27 Aug 2018 20:53:03 +0200 (CEST)
Original-Received: from [192.168.1.5] (152.96.21.199) by sid00233.hsr.ch
 (152.96.21.236) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Mon, 27 Aug
 2018 20:53:03 +0200
X-Mailer: iPad Mail (15G77)
In-Reply-To: <CAHSYqda04B+Fukj64i-4d__EW27dZ6g5xNYhVEGOut_bdywmAQ@mail.gmail.com>
X-Originating-IP: [152.96.21.199]
X-ClientProxiedBy: sid00234.hsr.ch (152.96.21.234) To sid00233.hsr.ch
 (152.96.21.236)
X-Original-Sender: peter.sommerlad@hsr.ch
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of peter.sommerlad@hsr.ch designates 2001:620:130:a036::32 as
 permitted sender) smtp.mailfrom=peter.sommerlad@hsr.ch
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: 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:40052
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40052>

--Apple-Mail-6AC85C10-DFD4-4F40-9268-1275056CE0CB
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Ada had a completely different set of requirements and abstraction capabili=
ties from C++. Please do not forget that you can define your own types that=
 are as efficient as the built -ins without their negative features, except=
 where you need code to sidestep the negative features like integer overflo=
w internally.

Get rid of primitive obsession, especially in multi-parameter functions.

Sent from Peter Sommerlad's iPad
+41 79 432 23 32

> On 27 Aug 2018, at 19:55, Hyman Rosen <hyman.rosen@gmail.com> wrote:
>=20
>> On Mon, Aug 27, 2018 at 1:33 PM Matthew Woehlke <mwoehlke.floss@gmail.co=
m> wrote:
>> I suppose this is part of the problem; different people have different
>> priorities, which can conflict violently.
>=20
> My heuristic is, if Ada did it that way, someone sensible thought very
> hard about it and decided it was a good idea.  So unless there's some
> essential reason why the Ada approach is wrong for C++, I tend to just
> go with that.
> --=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=
 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/isoc=
pp.org/d/msgid/std-proposals/CAHSYqda04B%2BFukj64i-4d__EW27dZ6g5xNYhVEGOut_=
bdywmAQ%40mail.gmail.com.

--=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/A4018A9D-A9C5-4C69-9984-AB434336B4AD%40hsr.ch.

--Apple-Mail-6AC85C10-DFD4-4F40-9268-1275056CE0CB
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=
=3Dutf-8"></head><body dir=3D"auto">Ada had a completely different set of r=
equirements and abstraction capabilities from C++. Please do not forget tha=
t you can define your own types that are as efficient as the built -ins wit=
hout their negative features, except where you need code to sidestep the ne=
gative features like integer overflow internally.<div><br></div><div>Get ri=
d of primitive obsession, especially in multi-parameter functions.<br><br><=
div id=3D"AppleMailSignature">Sent from Peter Sommerlad's<span class=3D"App=
le-style-span" style=3D"-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296=
875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webki=
t-composition-frame-color: rgba(77, 128, 180, 0.230469); ">&nbsp;iPad</span=
><div><span class=3D"Apple-style-span" style=3D"-webkit-tap-highlight-color=
: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192=
, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230=
469); ">+41 79 432 23 32</span></div></div><div><br>On 27 Aug 2018, at 19:5=
5, Hyman Rosen &lt;<a href=3D"mailto:hyman.rosen@gmail.com">hyman.rosen@gma=
il.com</a>&gt; wrote:<br><br></div><blockquote type=3D"cite"><div><meta htt=
p-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8"><div dir=3D=
"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">On Mon, Aug 27, 2018 at 1=
:33 PM Matthew Woehlke &lt;<a href=3D"mailto:mwoehlke.floss@gmail.com">mwoe=
hlke.floss@gmail.com</a>&gt; wrote:</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I suppose this is part of the problem; different people have different<br>
priorities, which can conflict violently.<br></blockquote><div><br>My heuri=
stic is, if Ada did it that way, someone sensible thought very<br>hard abou=
t it and decided it was a good idea.&nbsp; So unless there's some<br>essent=
ial reason why the Ada approach is wrong for C++, I tend to just<br>go with=
 that.</div></div></div>

<p></p>

-- <br>
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" 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/CAHSYqda04B%2BFukj64i-4d__EW27dZ6g5xN=
YhVEGOut_bdywmAQ%40mail.gmail.com?utm_medium=3Demail&amp;utm_source=3Dfoote=
r">https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAHSYqda04B=
%2BFukj64i-4d__EW27dZ6g5xNYhVEGOut_bdywmAQ%40mail.gmail.com</a>.<br>
</div></blockquote></div></body></html>

<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/A4018A9D-A9C5-4C69-9984-AB434336B4AD%=
40hsr.ch?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/=
a/isocpp.org/d/msgid/std-proposals/A4018A9D-A9C5-4C69-9984-AB434336B4AD%40h=
sr.ch</a>.<br />

--Apple-Mail-6AC85C10-DFD4-4F40-9268-1275056CE0CB--

.
