Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site hcrvax.UUCP Path: utzoo!hcrvax!petera From: petera@hcrvax.UUCP (Smith) Newsgroups: net.lang.c Subject: Re: Use of expression values in C Message-ID: <1880@hcrvax.UUCP> Date: Thu, 11-Jul-85 09:34:05 EDT Article-I.D.: hcrvax.1880 Posted: Thu Jul 11 09:34:05 1985 Date-Received: Fri, 12-Jul-85 06:43:41 EDT References: <474@crystal.UUCP> <397@umcp-cs.UUCP> <721@wlcrjs.UUCP> <5755@utzoo.UUCP> <685@lll-crg.ARPA> Organization: Human Computing Resources, Toronto Lines: 12 Concerning the expression if ((f = fopen(junk,"r")) == NULL) and the readability arguement. To say that composition of functions causes readability problems is a bit silly. We are forever composing functions in any language. Would the author of this complaint say that the code for expressions should be limited to an assignment and a mathmatical operation? But , that is composing two functions! To waste time worrying about such a trivial piece of code is silly when there are examples of code that are legitimately bad and whoose use should be avoided. Example: the use of pointers in 'tbl'. Peter Ashwood-Smith, Human Computing Resources, Toronto, Ontario.