From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.58.22.166 with SMTP id e6mr771503vef.6.1396552730135; Thu, 03 Apr 2014 12:18:50 -0700 (PDT) X-Received: by 10.140.43.228 with SMTP id e91mr80476qga.19.1396552730007; Thu, 03 Apr 2014 12:18:50 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!m5no20849qaj.1!news-out.google.com!gi6ni173igc.0!nntp.google.com!w5no20952qac.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 3 Apr 2014 12:18:49 -0700 (PDT) In-Reply-To: <1396545517.12456.30.camel@pascal.home.net> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=96.226.229.219; posting-account=zwxLlwoAAAChLBU7oraRzNDnqQYkYbpo NNTP-Posting-Host: 96.226.229.219 References: <7f1c01c5-3563-4b94-9831-152dbbf2ecdc@googlegroups.com> <2d62368c-9f64-49f3-98a8-5121d0c0fa23@googlegroups.com> <1396504291.12566.134.camel@pascal.home.net> <1396545517.12456.30.camel@pascal.home.net> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8e90c4a9-0dde-4a13-bcf3-cbc0512162eb@googlegroups.com> Subject: Re: Your wish list for Ada 202X From: "Dan'l Miller" Injection-Date: Thu, 03 Apr 2014 19:18:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2707 X-Received-Body-CRC: 1360258516 Xref: news.eternal-september.org comp.lang.ada:19096 Date: 2014-04-03T12:18:49-07:00 List-Id: On Thursday, April 3, 2014 12:18:37 PM UTC-5, Pascal Obry wrote: > function MyName return (Integer, Integer); >=20 > And then be able to write: >=20 > (A, B) :=3D (9, 12); > or > (A, B) :=3D MyName; > > Today you need to create a record just for that. Although I agree that such syntax is preferable to the verbosity that we ha= ve today, to fulfill what goal should this be added to Ada202X? Is Ada202X= 's purpose to reduce verbosity with clever (or full-fledged mathematical a = la Fortress) simplified syntax? Is the reason to add this to Ada202X the f= act that C++2011 has some support for tuples (mainly through its Boost-insp= ired standard libraries with some back-infusion into the language itself) a= nd that Ada202X's purpose is to address all of the C++ envies? Is the reas= on to add this to support some sort of library or code-generator that is aw= kward or impractical or impossible given today's record-based solution, and= hence Ada202X's purpose is driven by what drove the Boost-inspired portion= s of C++2011: assisting writers of clever-under-the-hood libraries? Some of these are scarier than others. The final one on my list of questio= ns above was the road to perdition in C++2011: contort C++ & its libraries= to be a poor-man's kludge for a functional language.