Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site watdaisy.UUCP Path: utzoo!watmath!watdaisy!ndiamond From: ndiamond@watdaisy.UUCP (Norman Diamond) Newsgroups: net.lang.c Subject: Re: When does void make code less readable? Message-ID: <6978@watdaisy.UUCP> Date: Mon, 18-Feb-85 12:56:42 EST Article-I.D.: watdaisy.6978 Posted: Mon Feb 18 12:56:42 1985 Date-Received: Tue, 19-Feb-85 06:06:30 EST References: <1995@sun.uucp> <420@lsuc.UUCP> Distribution: net Organization: U of Waterloo, Ontario Lines: 20 > I do support the use of lint, but I don't like (void). It just clashes > with the language's style, to my mind. After all, we can write: > a = ++b; or: ++b; > but I don't want to write the latter as: (void) ++b; > Mark Brader Don't forget that you would also need: (void) a = ++b; because the = operator returns its value too! (Except on one machine I used, where a[1] = a[2] = 1.0; worked fine but a[2*i+1] = a[2*i+2] = 1.0; left a[2*i+1] unchanged.) -- Norman Diamond UUCP: {decvax|utzoo|ihnp4|allegra|clyde}!watmath!watdaisy!ndiamond CSNET: ndiamond%watdaisy@waterloo.csnet ARPA: ndiamond%watdaisy%waterloo.csnet@csnet-relay.arpa "Opinions are those of the keyboard, and do not reflect on me or higher-ups."