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.159.40.230 with SMTP id d93mr555981uad.43.1481874580037; Thu, 15 Dec 2016 23:49:40 -0800 (PST) X-Received: by 10.157.4.119 with SMTP id 110mr65435otc.11.1481874579988; Thu, 15 Dec 2016 23:49:39 -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!news.glorb.com!n6no751337qtd.0!news-out.google.com!c1ni12041itd.0!nntp.google.com!75no615446ite.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 15 Dec 2016 23:49:39 -0800 (PST) In-Reply-To: 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: <28dad641-4a2b-4654-aff7-67c85b290fb9@googlegroups.com> Subject: Re: C# new features (v.7) From: Hadrien Grasland Injection-Date: Fri, 16 Dec 2016 07:49:40 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:32866 Date: 2016-12-15T23:49:39-08:00 List-Id: Le mercredi 14 d=C3=A9cembre 2016 17:59:55 UTC+1, Nasser M. Abbasi a =C3=A9= crit=C2=A0: > Along the same thought, Python 3.6, which came out just 2 days ago, > has new features, and quick look shows many are > allreadyin Ada for 30 years or more. >=20 > https://docs.python.org/3.6/whatsnew/3.6.html >=20 > -- PEP 515, underscores in numeric literals. > "adds the ability to use underscores in numeric > literals for improved readability" >=20 > -- PEP 526, syntax for variable annotations. > "introduced the standard for type annotations of > function parameters, a.k.a. type hints" >=20 > (poor man's way of adding data type declaration? :) >=20 > PEP 492 introduced support for native coroutines and async / await syntax > (Ada tasks?) Not quite. Coroutines are about lightweight cooperative multitasking (user = specifies when to switch to another task, through some syntaxic sugar), whe= reas the implementation of Ada tasks is left up to the implementation, and = in GNAT is based on heavyweight preemptive threads. >=20 > etc... >=20 > Many "modern" languages are adding "new" features, which are > allready in Ada for 10's of years, Hummm.... May be Ada > needs a better marketing department :) >=20 > --Nasser