Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84 SMI; site sun.uucp
Path: utzoo!linus!philabs!prls!amdimage!amdcad!decwrl!sun!guy
From: guy@sun.uucp (Guy Harris)
Newsgroups: net.lang.c
Subject: Re: Re: c programming style - READ THIS
Message-ID: <2652@sun.uucp>
Date: Fri, 16-Aug-85 04:46:21 EDT
Article-I.D.: sun.2652
Posted: Fri Aug 16 04:46:21 1985
Date-Received: Tue, 20-Aug-85 01:28:10 EDT
References: <11570@brl-tgr.ARPA> <935@teddy.UUCP>
Organization: Sun Microsystems, Inc.
Lines: 16

> > > Well, you should know that `++' and `--' *ONLY* works on variables of
> > > type scalar, where a there is a defined successor or predecessor
> > 
> > No, I didn't know that.  Then again, neither did Kernighan nor Ritchie.
> 
> Ritchie, did... since the Ritchie 'C' compiler complains about (float)++,
> claiming it's not a scalar (or words to that effect).

Well, then, he must have changed his mind at some point, considering that
K&R says "++" is the same as " += 1".  As you'd have
known if you'd read the article you were replying to, the article was
referring to K&R not to a particular compiler written by R; the former may
not be a great standard but it's a lot closer to a standard than the
behavior of one particular compiler.

	Guy Harris