From owner-freebsd-hackers Fri Aug 10 12:40:23 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with ESMTP id D0C1D37B407 for ; Fri, 10 Aug 2001 12:40:20 -0700 (PDT) (envelope-from rminnich@lanl.gov) Received: from snaresland.acl.lanl.gov (snaresland.acl.lanl.gov [128.165.147.113]) by acl.lanl.gov (8.11.3/8.8.5) with SMTP id f7AJeKO2306859 for ; Fri, 10 Aug 2001 13:40:20 -0600 (MDT) Received: (qmail 17502 invoked by uid 3499); 10 Aug 2001 19:40:19 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Aug 2001 19:40:19 -0000 Date: Fri, 10 Aug 2001 13:40:19 -0600 (MDT) From: Ronald G Minnich X-X-Sender: To: Raymond Wiker Cc: , Rob , "hackers@FreeBSD.ORG" Subject: Re: the =+ operator In-Reply-To: <15220.9386.441669.962830@raw.grenland.fast.no> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 10 Aug 2001, Raymond Wiker wrote: > This is actually wrong - the += and -= operators were > originally written as =+ and =-. This is obviously ambiguous, given > the fact that whitespace is ignored. that was the problem. In this one case, in the old C compilers, white space mattered. hence the habit many of us have of putting ' = ' in our code. It's stylistic now, but back then it was a source of bugs in programs, i.e. '=-' was not the same meaning as ' = -' ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message