220 39735 <ef63d6a4-8296-45d9-9f67-96a440af2d45@isocpp.org> article
Path: news.gmane.org!.POSTED!not-for-mail
From: cppljevans@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Readability improvement: types go on the right side
Date: Sun, 12 Aug 2018 14:55:55 -0700 (PDT)
Lines: 93
Approved: news@gmane.org
Message-ID: <ef63d6a4-8296-45d9-9f67-96a440af2d45@isocpp.org>
References: <d1e4945a-8605-4c11-99c9-5e8b30ce1186@isocpp.org>
 <a1a46362-5b3c-4611-801a-427ea6f9cac9@isocpp.org>
 <519c2f35-c6b3-461f-89be-87ccd00f8be5@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1266_1382176202.1534110955714"
X-Trace: blaine.gmane.org 1534110832 28304 195.159.176.226 (12 Aug 2018 21:53:52 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 12 Aug 2018 21:53:52 +0000 (UTC)
Cc: cppljevans@gmail.com
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDAYTI72VMGRB3GZYLNQKGQEROZ45FA@isocpp.org Sun Aug 12 23:53:47 2018
Return-path: <std-proposals+bncBDAYTI72VMGRB3GZYLNQKGQEROZ45FA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw1-f71.google.com ([209.85.161.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDAYTI72VMGRB3GZYLNQKGQEROZ45FA@isocpp.org>)
	id 1foyJ1-0007G5-Fa
	for gclcip-std-proposals@m.gmane.org; Sun, 12 Aug 2018 23:53:47 +0200
Original-Received: by mail-yw1-f71.google.com with SMTP id z200-v6sf20387029ywd.22
        for <gclcip-std-proposals@m.gmane.org>; Sun, 12 Aug 2018 14:55:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=K/aureTMJ68ufHTDA0q6TCfy1o/JX/tP/Qx51F4tf18=;
        b=F3t1tricFVEmUqPMGvqSgk5Em36S7LJWf09NWroh1oLZy2YOGB8R2zkwBlDv+t5aFy
         fgSSaZs6CpNYlgXndyel7IDG4SWz4C62cjJTSc7iw0sIJc1lRu09DAdG9+7YohpYPMb+
         ZkKwngV74UnRru0dpQ3Zs+awI0qx00qVD+j5uwObErSOWGGbsUKlDPlkozJC3/oPPbre
         IjydSZtWiLf7+3zM5KUyt0oH8qCbI9SDIaSkGVD2+/fBVX/MJczN1FgLq7oaJHgxfRCt
         IKSfFrpIj7vOH9Bn13TXu2CdoEUxUXXC+b99CPpxKwnLKQ+I++sSLUOF7xyunsH9WRNC
         +o/A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:to:cc:message-id:in-reply-to:references:subject
         :mime-version:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=K/aureTMJ68ufHTDA0q6TCfy1o/JX/tP/Qx51F4tf18=;
        b=QD/Zok5qCMTa2g3ZkG62bgnuD+Dzaj1A6Tipk4Lo53Co2hAg9FVgbMFymPTJCzi0eV
         N7qIG0P7KUDV8Iv6VoYqrtYgVUsbcIOMKhuifNhik8Qu3iOxXo0pmTHTwecSkzZYo+QD
         NlldVPmOX0Su7wj/TlpCjqVSL1rRaq76KAj+fKc6wSvngftXRRd6IY+jhjj1wnZ80uZ+
         1dJPdSNF61Qlti3Xd/K7b+NuuA23thdJyYopbEOC/63kidmm6PcSkNtj0WK5HYZI74rH
         MVPzvUWpraZBRhsOlV4RHXh8YdlQndtzfCi2nDDGXXn6tqbkBXeJvBbbZNURNt3TAFjp
         BC+Q==
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:cc: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=K/aureTMJ68ufHTDA0q6TCfy1o/JX/tP/Qx51F4tf18=;
        b=f9+aAlzWYconwVS8PeIsIXSvvbo6ZBXemx0XDooohkOzn8PKzOQK5H5JOK/Zfz20lb
         wIwSqICMqKdemhI9xJHSTEa4zsD8aJMmRgWN6VvwCaHTQGU2yaS+P45IV1KtBxg3dN8d
         M/D4JpbjcAyymG0aJlqBTX4jlxANUtPjgaU+QgH0vgC2+qoDouD96uvEYOjDdAKJyEzv
         NrLFRcRBTiR53kNpT5C9dGZGGo6XR4xtt55qIUHRI/QA06+t420hVyUpWedHbZUmA1v0
         0K7E3/5u8nGP302FCu2E6MYDyCe3onk86cz6ffmyf3D8oKQKIvRTaVwS1mvdJHRPnzF7
         wd3w==
X-Gm-Message-State: AOUpUlFn0GXBNeMOhQ5trW2c7efNKliyGFJPimf+4tCZQ7HR+Yqk2STK
	k/BrRGIhYZ7ww3pQeXSGBpsldg==
X-Google-Smtp-Source: AA+uWPy+upF3EHYWpCgJRLZHD7CQoCz8EksCrne6zwGK7vRT+pH3zCv2wwMdveaEH9tYbM4qHqdfQw==
X-Received: by 2002:a81:ac0a:: with SMTP id k10-v6mr4453256ywh.135.1534110957763;
        Sun, 12 Aug 2018 14:55:57 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a81:6c4b:: with SMTP id h72-v6ls2216397ywc.34.gmail; Sun, 12
 Aug 2018 14:55:56 -0700 (PDT)
X-Received: by 2002:a81:7dd6:: with SMTP id y205-v6mr319512ywc.1.1534110956198;
        Sun, 12 Aug 2018 14:55:56 -0700 (PDT)
In-Reply-To: <519c2f35-c6b3-461f-89be-87ccd00f8be5@isocpp.org>
X-Original-Sender: cppljevans@gmail.com
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:39735
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/39735>

------=_Part_1266_1382176202.1534110955714
Content-Type: multipart/alternative; 
	boundary="----=_Part_1267_1934702710.1534110955714"

------=_Part_1267_1934702710.1534110955714
Content-Type: text/plain; charset="UTF-8"



On Sunday, August 12, 2018 at 4:06:07 PM UTC-5, Dimitrij Mijoski wrote:
>
> On Sunday, August 12, 2018 at 10:53:22 PM UTC+2, cpplj...@gmail.com wrote:
>>
>>
>> How would arrays be declared? Maybe:
>>
>> auto arr : [n_1][n_2]->result_type;
>> ?
>>
>>
> No, why complicate like that?
>
> What about:
> auto arr: int[3];
>
>
>
Well, I was only thinking of your desire for types to be "on the right"., 
but I guess
you just meant that for functions?  OTOH, an array is like a function
in that, when give a sequence of arguments, returns a result, and it would
be more uniform notation.  

-- 
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/ef63d6a4-8296-45d9-9f67-96a440af2d45%40isocpp.org.

------=_Part_1267_1934702710.1534110955714
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><br>On Sunday, August 12, 2018 at 4:06:07 PM UTC-5, Di=
mitrij Mijoski wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0;m=
argin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir=
=3D"ltr">On Sunday, August 12, 2018 at 10:53:22 PM UTC+2, <a>cpplj...@gmail=
..com</a> wrote:<blockquote class=3D"gmail_quote" style=3D"margin:0;margin-l=
eft:0.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr"><br=
><div>How would arrays be declared? Maybe:<br></div><div><br></div><div><di=
v style=3D"background-color:rgb(250,250,250);border-color:rgb(187,187,187);=
border-style:solid;border-width:1px"><code><div><span style=3D"color:#008">=
auto</span><span style=3D"color:#000"> arr </span><span style=3D"color:#660=
">:</span><span style=3D"color:#000"> </span><span style=3D"color:#660">[</=
span><span style=3D"color:#000">n_1</span><span style=3D"color:#660">][</sp=
an><span style=3D"color:#000">n_2</span><span style=3D"color:#660">]-&gt;</=
span><span style=3D"color:#000">result_type</span><span style=3D"color:#660=
">;</span><span style=3D"color:#000"><br></span></div></code></div>?<br> <b=
r></div></div></blockquote><div><br></div><div>No, why complicate like that=
?</div><div><br></div><div>What about:</div><div><div style=3D"background-c=
olor:rgb(250,250,250);border-color:rgb(187,187,187);border-style:solid;bord=
er-width:1px"><code><div><span style=3D"color:#008">auto</span><span style=
=3D"color:#000"> arr</span><span style=3D"color:#660">:</span><span style=
=3D"color:#000"> </span><span style=3D"color:#008">int</span><span style=3D=
"color:#660">[</span><span style=3D"color:#066">3</span><span style=3D"colo=
r:#660">];</span><span style=3D"color:#000"><br></span></div></code></div><=
br><br></div></div></blockquote><div><br></div><div>Well, I was only thinki=
ng of your desire for types to be &quot;on the right&quot;., but I guess</d=
iv><div>you just meant that for functions?=C2=A0 OTOH, an array is like a f=
unction</div><div>in that, when give a sequence of arguments, returns a res=
ult, and it would</div><div>be more uniform notation.=C2=A0 <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/ef63d6a4-8296-45d9-9f67-96a440af2d45%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/ef63d6a4-8296-45d9-9f67-96a440af2d45=
%40isocpp.org</a>.<br />

------=_Part_1267_1934702710.1534110955714--

------=_Part_1266_1382176202.1534110955714--

.
