From: Andi Kleen <ak-uu@muc.de>
Subject: Re: C like op= proposal
Date: 1999/08/18
Date: 1999-08-18T15:45:52+00:00 [thread overview]
Message-ID: <m3u2pxt7m7.fsf@fred.muc.de> (raw)
In-Reply-To: 7pd6th$2qj$1@nnrp1.deja.com
Robert Dewar <robert_dewar@my-deja.com> writes:
> In article <m3u2pyutzu.fsf@fred.muc.de>,
> Andi Kleen <ak-uu@muc.de> wrote:
> > [1] To attribute correctly this is an old argument from, I
> believe
> > Dennis Ritchie, in a prehistoric article about C. I think he's
> right.
>
>
> No, this is older than C, these notations were around in
> Algol variants (as +:=) before C existed. Note that Algol-68
> has these operators.
So was the argument "x+=1 is more human brain and code review friendly
than x:=x+1" already used during Algol development?
I was just attributing where I read this particular point
first.
I guess the reason why it wasn't included in Pascal is that Wirth
was too hooked to pure mathematical thinking where they of course
equivalent (ignoring that x:=x+1 is per see mathematical nonsense,
either x is x or it is x+1, but not both @)
> But there are many other factors in the Ada decision. Please
> go look up old threads, I don't feel like going over this stuff
> again myself :-)
I don't intend to, I understand that it is unrealistic and will
probably never happen to Ada. I just couldn't resist to bring
another view to the boring "+= helps the optimizer" discussions.
-Andi
--
This is like TV. I don't like TV.
next prev parent reply other threads:[~1999-08-18 0:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-15 0:00 C like op= proposal Brian Rogoff
1999-08-15 0:00 ` Ray Blaak
1999-08-15 0:00 ` Brian Rogoff
1999-08-16 0:00 ` Gautier
1999-08-17 0:00 ` John Duncan
1999-08-17 0:00 ` Gautier
1999-08-17 0:00 ` Samuel Tardieu
1999-08-17 0:00 ` Gautier
1999-08-17 0:00 ` Andi Kleen
1999-08-18 0:00 ` Robert Dewar
1999-08-17 0:00 ` Brian Rogoff
1999-08-18 0:00 ` Robert Dewar
1999-08-18 0:00 ` Brian Rogoff
1999-08-19 0:00 ` Robert Dewar
1999-08-21 0:00 ` Brian Rogoff
1999-08-23 0:00 ` Robert A Duff
1999-08-18 0:00 ` Ted Dennison
1999-08-18 0:00 ` Jeff Carter
1999-08-18 0:00 ` Keith Thompson
1999-08-19 0:00 ` Michael F. Yoder
1999-08-21 0:00 ` Keith Thompson
1999-08-19 0:00 ` Tarjei T. Jensen
1999-08-19 0:00 ` Ted Dennison
1999-08-19 0:00 ` Lance Kibblewhite
1999-08-19 0:00 ` Robert Dewar
1999-08-20 0:00 ` P.S. Norby
1999-08-21 0:00 ` Robert Dewar
1999-08-19 0:00 ` tmoran
1999-08-18 0:00 ` Robert I. Eachus
1999-08-18 0:00 ` Gautier
1999-08-18 0:00 ` Andi Kleen [this message]
1999-08-18 0:00 ` Gautier
1999-08-16 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox