Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 13:40:19 -0600 (MDT)
From:      Ronald G Minnich <rminnich@lanl.gov>
To:        Raymond Wiker <Raymond.Wiker@fast.no>
Cc:        <les@safety.net>, Rob <europax@home.com>, "hackers@FreeBSD.ORG" <hackers@FreeBSD.ORG>
Subject:   Re: the =+ operator
Message-ID:  <Pine.LNX.4.33.0108101339120.16474-100000@snaresland.acl.lanl.gov>
In-Reply-To: <15220.9386.441669.962830@raw.grenland.fast.no>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0108101339120.16474-100000>