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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.99.103.6 with SMTP id b6mr783544pgc.61.1481874422483; Thu, 15 Dec 2016 23:47:02 -0800 (PST) X-Received: by 10.157.27.9 with SMTP id l9mr59059otl.6.1481874422440; Thu, 15 Dec 2016 23:47:02 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!1.eu.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!b123no619446itb.0!news-out.google.com!c1ni12041itd.0!nntp.google.com!75no615134ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Dec 2016 23:47:02 -0800 (PST) In-Reply-To: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=78.192.88.225; posting-account=21X1fwoAAABfSGdxRzzAXr3Ux_KE3tHr NNTP-Posting-Host: 78.192.88.225 References: <5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: C# new features (v.7) From: Hadrien Grasland Injection-Date: Fri, 16 Dec 2016 07:47:02 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32865 Date: 2016-12-15T23:47:02-08:00 List-Id: I would disagree with point #3. Le mercredi 14 d=C3=A9cembre 2016 14:29:47 UTC+1, gautier...@hotmail.com a = =C3=A9crit=C2=A0: > I've come across a list of new features in the upcoming version of C#. > Funnily, a good half are already in Ada - four of them actually already i= n Ada 1983 ! > I've marked here with a '*' those items, a '.' items where I think a simi= lar feature exists and '-' where I think the feature doesn't exist in Ada. > Comments and corrections are welcome. >=20 > * Feature # 1 - Binary literals > * Feature # 2 - Digit Separators > * Feature # 3 - Tuple data type now available as Value type While this feature is mostly about record aggregates, they add to it the ab= ility to declare anonymous record types, which would never land in Ada. So = I would call it a '.'. > . Feature # 4 - Out parameters now have a fluid usage > * Feature # 5 - Local functions > . Feature # 6 - Ref returns and ref locals > * Feature # 7 - New possibility for throw expressions > - Feature # 8 - New possibility for lambda expression bodied methods > - Feature # 9 - Pattern matching for types >=20 > Perhaps an Ada support by Microsoft anytime soon ?... Considering the quality of their C++ compiler, I would rather NOT have Micr= osoft becoming popular in the Ada ecosystem :) Hadrien