Rich kids are into COBOL

Johnny Billquist bqt at update.uu.se
Sat Feb 28 04:59:46 CST 2015


On 2015-02-27 23:16, Chuck Guzis wrote:
> On 02/27/2015 02:03 PM, Johnny Billquist wrote:
>
>> I'm not aware of any ambiguity WRT function calls, but you do have a
>> ambiguity WRT the same argument being used multiple times (incluiding if
>> you have increments on it) as the order of evaluation of any part of a
>> statement in C is undefined except for some special cases.
>
> Yes, and that's just it--it's an operator with an implied LHS, that is,
> it not only returns a value, but alters its argument.  In languages
> preceding it, I'm not aware of such an operator.

Well. You could just as well talk about the assignment operator in C...

>> Not that Unix was ever written in B anyway, but I believe that B did
>> exist for the PDP-7.
>
> But was the "B" used by Xerox in the 80s, the same language?

Without knowing for sure, I doubt there are several different languages 
called "B". I'm sure there are implementation differences, though.

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


More information about the cctalk mailing list