syntax for unary assignment operators (was Re: C history question)

Ta06 c05_ta06 at jhunix.HCF.JHU.EDU
Tue Sep 19 16:52:05 AEST 1989


>>A somewhat consistent but fairly bizarre syntax would be
>>	x -=;
>The problem with this is that you would like it to have the same precedence
>as ++ and --.  ...

Why?  We don't expect the regular += to have the same precedence as +...
--
"The workers ceased to be afraid of the bosses.  It's as if they suddenly
 threw off their chains." -- a Soviet journalist, about the Donruss coal strike

Kenneth Arromdee (UUCP: ....!jhunix!ins_akaa; BITNET: g49i0188 at jhuvm;
     INTERNET: arromdee at crabcake.cs.jhu.edu)



More information about the Comp.lang.c mailing list