Use of expression values in C

Smith petera at hcrvax.UUCP
Thu Jul 11 23:34:05 AEST 1985


	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.



More information about the Comp.lang.c mailing list