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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,67bb3e29a77c25c6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news1.google.com!news3.google.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: pragma Pure (Ada) Date: Sat, 01 Oct 2011 04:11:14 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: W30wu5BXSfrFU4hm+ZMo7g.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/11.51 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news1.google.com comp.lang.ada:21224 Date: 2011-10-01T04:11:14+02:00 List-Id: Le Sat, 01 Oct 2011 03:50:36 +0200, Yannick Duch=C3=AAne (Hibou57) = a =C3=A9crit: > In =E2=80=9CA Brief Introduction to Ada 2012=E2=80=9D (a great paper f= rom John Barnes) -> > http://www2.adacore.com/wp-content/uploads/2006/03/Ada2012_Rational_In= troducion.pdf On page 13, there's something I don't feel to understand > Programmers have always moaned about the need for many > explicit conversions in Ada. Accordingly, implicit > conversions from anonymous access types to named access > types are now permitted provided the explicit conversion is > legal. The idea is that the need for an explicit conversion > with access types should only arise if the conversion could > fail. A curious consequence of this change is that a > preference rule is needed for the equality of anonymous > access types. =E2=80=9Ca preference rule is needed for the equality of anonymous acces= s types=E2=80=9D ? = What does that mean ? -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [Ep= igrams on = Programming =E2=80=94 Alan J. =E2=80=94 P. Yale University] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [Idem] Java: Write once, Never revisit