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: 103376,fe928bde93f0c2f4,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,UTF8 Path: g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!xlned.com!feeder3.xlned.com!feeder.news-service.com!94.75.214.39.MISMATCH!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Fun: the Ada assignment operator is an alias of the equivalence operator Date: Sat, 28 May 2011 02:48:29 +0200 Organization: Ada @ Home Message-ID: NNTP-Posting-Host: pVIL4Jc315Bcyd0ghgH3/w.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.01 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:20498 Date: 2011-05-28T02:48:29+02:00 List-Id: Hello, A very light topic: I've just discovered the Ada / Pascal assignment = operator, is one of the alias of the logical-equivalence or defined-as = operator, that is, =E2=80=9C :=3D =E2=80=9D is an alias of =E2=80=9C =E2= =89=A1 =E2=80=9D. As was trying to makeup my = mind about some ambiguities in the use which is made of =E2=80=9C =E2=89= =A1 =E2=80=9D when I = landed to this Wikipedia page : http://en.wikipedia.org/wiki/List_of_logic_symbols This is a rather good choice which was made=E2=80=A6 would have been a p= erfect = choice is this was not used for side effects (let say this is just the = interpretation context which slightly vary :-D ). -- = =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] =E2=80=9Cc++; /* this makes c bigger but returns the old value */=E2=80=9D= [Anonymous]