Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site drivax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!hao!hplabs!amdahl!drivax!alan From: alan@drivax.UUCP (Alan Fargusson) Newsgroups: net.lang.c Subject: Re: C question Message-ID: <121@drivax.UUCP> Date: Fri, 12-Apr-85 13:12:09 EST Article-I.D.: drivax.121 Posted: Fri Apr 12 13:12:09 1985 Date-Received: Wed, 17-Apr-85 00:29:54 EST References: <5272@tektronix.UUCP> <230@aluxp.UUCP> <288@bdaemon.UUCP> <26@harvard.ARPA> Organization: Digital Research, Monterey, CA Lines: 13 > Regarding the question about x = x++ and a[i] = i++ and similarly > ambiguous constructs: Why the (*@#$%^*^ can't the compiler complain I didn't think that a[i] = i++ was ambiguous when I used it to set an array up shuch that each element a[i] was equal to i. So call me a hacker. The problem is that a compiler writer cannot anticipate all the errors a user might make. There are an infinite number of correct programs, and even more incorrect programs. -- Alan Fargusson. { ihnp4, sftig, amdahl, ucscc, ucbvax!unisoft }!drivax!alan