Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!ukc!edcastle!aiai!richard From: richard@aiai.ed.ac.uk (Richard Tobin) Newsgroups: comp.lang.c Subject: Re: When do you use "if ( a = b )"? (was Re: Funny mistake) Message-ID: <4365@skye.ed.ac.uk> Date: 26 Mar 91 18:06:46 GMT Article-I.D.: skye.4365 References: <15481@smoke.brl.mil> <775@camco.Celestial.COM> <65837@eerie.acsu.Buffalo.EDU> <1991Mar21.213027.24314@mathrt0.math.chalmers.se> Reply-To: richard@aiai.UUCP (Richard Tobin) Organization: AIAI, University of Edinburgh, Scotland Lines: 12 In article <1991Mar21.213027.24314@mathrt0.math.chalmers.se> d9erikb@dtek.chalmers.se (Erik Bergersjo) writes: >Besides, I think "if(a = b)" is more readable. It's clearly one of those >extra features / pecularities that make C the special language it is! It's hardly a peculiarity of C. It's just part of C's rather limited attempt to be an expression language. -- Richard -- Richard Tobin, JANET: R.Tobin@uk.ac.ed AI Applications Institute, ARPA: R.Tobin%uk.ac.ed@nsfnet-relay.ac.uk Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin