Path: utzoo!mnetor!uunet!pwcmrd!skipnyc!atpal!tneff From: tneff@atpal.UUCP (Tom Neff) Newsgroups: comp.lang.c Subject: Re: C Style (Was Re: == vs =) Message-ID: <131@atpal.UUCP> Date: 21 Apr 88 16:47:47 GMT References: <11216@brl-adm.ARPA> <2111@chinet.UUCP> <4403@garfield.UUCP> <226@hotlr.ATT> <130@obie.UUCP> <5981@utcsri.UUCP> <1982@ubc-cs.UUCP> <126@atpal.UUCP> <2823@mmintl.UUCP> Reply-To: uunet!pwcmrd!skipnyc!atpal!tneff (Tom Neff) Organization: Rational Technologies, Inc. Lines: 13 Summary: amen In article <2823@mmintl.UUCP> franka@mmintl.UUCP (Frank Adams) writes: >I wouldn't say "never write if(variable)"; rather "only write if(variable) >if variable is Boolean". In my opinion, things like if(variable==TRUE) are >abominations. I agree completely, Frank, and thanks for the correction. I meant to say "non-boolean variable" (or at least I realize that now :-)). Of course, now we could get into the etiquette of if(boolean-assignment-expression)... -- Tom Neff UUCP: ...uunet!pwcmrd!skipnyc!atpal!tneff "None of your toys CIS: 76556,2536 MCI: TNEFF will function..." GEnie: TOMNEFF BIX: are you kidding?