From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: C# new features (v.7)
Date: Wed, 14 Dec 2016 10:59:42 -0600
Date: 2016-12-14T10:59:42-06:00 [thread overview]
Message-ID: <o2rtq7$rhe$1@gioia.aioe.org> (raw)
In-Reply-To: 5f542dff-8dd0-49b8-8228-3ccc8248c57d@googlegroups.com
On 12/14/2016 7:29 AM, gautier_niouzes@hotmail.com wrote:
> 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 in Ada 1983 !
> I've marked here with a '*' those items, a '.' items where I think a similar feature exists and '-' where I think the feature doesn't exist in Ada.
> Comments and corrections are welcome.
>
> * Feature # 1 - Binary literals
> * Feature # 2 - Digit Separators
> * Feature # 3 - Tuple data type now available as Value type
> . 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
>
> Perhaps an Ada support by Microsoft anytime soon ?...
> _________________________
> Gautier's Ada programming
> http://gautiersblog.blogspot.com/search/label/Ada
> NB: Pour une réponse directe, adresse e-mail valable par le lien ci-dessus
>
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.
https://docs.python.org/3.6/whatsnew/3.6.html
-- PEP 515, underscores in numeric literals.
"adds the ability to use underscores in numeric
literals for improved readability"
-- PEP 526, syntax for variable annotations.
"introduced the standard for type annotations of
function parameters, a.k.a. type hints"
(poor man's way of adding data type declaration? :)
PEP 492 introduced support for native coroutines and async / await syntax
(Ada tasks?)
etc...
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 :)
--Nasser
next prev parent reply other threads:[~2016-12-14 16:59 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-14 13:29 C# new features (v.7) gautier_niouzes
2016-12-14 16:59 ` Nasser M. Abbasi [this message]
2016-12-14 19:28 ` Shark8
2016-12-14 19:52 ` Wesley Pan
2016-12-14 23:01 ` Randy Brukardt
2016-12-16 10:03 ` Luke A. Guest
2016-12-16 20:19 ` Randy Brukardt
2016-12-15 14:19 ` Alejandro R. Mosteo
2016-12-16 8:34 ` Luke A. Guest
2016-12-17 10:09 ` Paul Rubin
2016-12-17 10:51 ` Hadrien Grasland
2016-12-17 11:36 ` Hadrien Grasland
2016-12-17 17:13 ` Nasser M. Abbasi
2016-12-17 17:52 ` Björn Lundin
2016-12-17 20:45 ` Dennis Lee Bieber
2016-12-17 21:56 ` Robert A Duff
2016-12-17 22:56 ` Simon Clubley
2017-02-05 0:37 ` Scott Loyd
2017-02-05 1:07 ` Luke A. Guest
2017-02-05 10:41 ` Lucretia
2017-02-05 16:12 ` Scott Loyd
2017-02-05 17:25 ` Lucretia
2016-12-16 7:49 ` Hadrien Grasland
2016-12-14 19:28 ` Shark8
2016-12-15 0:13 ` gautier_niouzes
2016-12-16 7:52 ` Hadrien Grasland
2016-12-16 10:08 ` Luke A. Guest
2016-12-16 13:04 ` Dennis Lee Bieber
2016-12-15 12:49 ` Alejandro R. Mosteo
2016-12-16 7:55 ` Hadrien Grasland
2016-12-16 12:43 ` Alejandro R. Mosteo
2016-12-16 20:14 ` Hadrien Grasland
2016-12-17 0:01 ` Alejandro R. Mosteo
2016-12-16 7:47 ` Hadrien Grasland
2017-01-31 1:29 ` brian catlin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox