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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,11414a19b0e4a97a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!j8g2000yqd.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: Advice on selling Ada to a C shop Date: Wed, 23 Jun 2010 13:50:14 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <101bf8f3-b823-45ee-9afd-40cbafb4b7a9@t26g2000prt.googlegroups.com> <774c25c4-3270-4ffb-ad19-366a0ab16659@i31g2000yqm.googlegroups.com> <4c22669b$0$3623$4d3efbfe@news.sover.net> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1277326215 32417 127.0.0.1 (23 Jun 2010 20:50:15 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 23 Jun 2010 20:50:15 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j8g2000yqd.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12875 Date: 2010-06-23T13:50:14-07:00 List-Id: On Jun 23, 12:57=A0pm, "Peter C. Chapin" wrote: > > Now, with the release of GNAT 2009, Adacore started including > > "Conditional Structures". > > > In GNAT 2009, the "If" conditional structure was added. > > > =A0 =A0 :=3D (if ... =A0then ... else ... ); > > > Not sure if you can use add the "elsif .... then" =A0clause. > > > This is too close to C like structures for any Ada purist to approve of= . > > I wasn't involved in the discussion that lead to the decision to include > conditional expressions in Ada, but my impression is that they were > introduced in large measure to make the new pre- and post-conditions more > expressive. I don't think conditional expressions are officially part of Ada yet. The changes haven't been approved. So if some compiler accepts them, it's a compiler for some other language that isn't Ada. -- Adam