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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc1361a952ec75ca X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-31 01:17:40 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-nue1.dfn.de!news-han1.dfn.de!news.fh-hannover.de!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: How to make Ada a dominant language Date: Tue, 31 Jul 2001 10:31:41 +0200 Organization: Enyo's not your organization Message-ID: <87itg9xzwy.fsf@deneb.enyo.de> References: <3B6555ED.9B0B0420@sneakemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:10842 Date: 2001-07-31T10:31:41+02:00 List-Id: randhol@kiuk0156.chembio.ntnu.no (Preben Randhol) writes: >> Because "=" is the simplest fricking symbol that could possibly be used > > If you think about it it is more important that your if statments are > correct than your assignments. Just think about this C line: > > if (C = crap) then ... > > and of course it will always be true and will compile. I would rather > have = for this than assignments. This problem isn't caused by the symbol '=' per se, but by the fact assignments are expressions, not statements, in C. Python (another language which uses '=' and '==') gives you a diagnostic in such cases.