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 X-Google-Thread: 103376,3b9cb18e1220c16c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-07 01:21:23 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.ulv.nextra.no!nextra.com!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Where did /= come from? Date: Thu, 7 Nov 2002 09:21:22 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3DC93F8B.9E28FD15@mmm.com> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1036660882 302 129.241.83.78 (7 Nov 2002 09:21:22 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 7 Nov 2002 09:21:22 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:30509 Date: 2002-11-07T09:21:22+00:00 List-Id: Matthew Baulch wrote: > > I'm not advocating C when I say this, but != makes far more sense than /= > lexically speaking. In C, the Negative of a bool is retrieved with !foo. > In Ada, not foo. So I believe that K&R got it right using the != operator > for 'not equal'. Ada on the other hand doesn't use the ! operator and "not > equal" is too clumsy so it could be far worse than '/='. Well you can argue that they got it wrong when they chose ! in stead of not and = instead of := and == in stead of = ;-) -- Preben Randhol -------------------- http://www.pvv.org/~randhol �.., chaos is found in greatest abundance wherever order is being sought. It always defeats order, because it is better organized.� -- Interesting Times, Terry Pratchett