Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site cavell.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!alberta!cavell!mouli From: mouli@cavell.UUCP (Bopsi ChandraMouli) Newsgroups: net.lang.c Subject: Re: The wonders of C (=/==) Message-ID: <382@cavell.UUCP> Date: Thu, 28-Mar-85 20:02:29 EST Article-I.D.: cavell.382 Posted: Thu Mar 28 20:02:29 1985 Date-Received: Sat, 30-Mar-85 01:34:25 EST References: <9436@brl-tgr.ARPA> <12@rtp47.UUCP> <1401@ut-sally.UUCP> Reply-To: mouli@cavell.UUCP (Bopsi Chandramouli) Organization: U. of Alberta, Edmonton, AB Lines: 18 Summary: In article <1401@ut-sally.UUCP> riddle@ut-sally.UUCP (Prentiss Riddle) writes: >> It seems to me that the normally-cited "save keystrokes" reason for >> the =/== choice cannot be correct... > >Wasn't "==" chosen for its obvious analogy to "!=", "<=", and ">=" ? >That's what I've always assumed, at least. The "obvious" analogy goes like this. :=) <= -- less than OR equal >= -- Greater than OR equal != -- not OR equal (not quite right!) == -- equal OR equal or more appropriately assign OR assign --------------------------------------- ihnp4!alberta!cavell!mouli