Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!aplcen!jhunix!c05_ta06 From: c05_ta06@jhunix.HCF.JHU.EDU (Ta06) Newsgroups: comp.lang.c Subject: Re: syntax for unary assignment operators (was Re: C history question) Keywords: C design, XOR Message-ID: <2562@jhunix.HCF.JHU.EDU> Date: 19 Sep 89 06:52:05 GMT References: <575@calmasd.Prime.COM> <1687@sunset.MATH.UCLA.EDU> <174@cpsolv.UUCP> <1989Sep17.150504.16643@jarvis.csri.toronto.edu> <1032@m3.mfci.UUCP> Reply-To: ins_akaa@jhunix.UUCP (Ta06) Organization: Johns Hopkins University CS Dept. Lines: 12 >>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@jhuvm; INTERNET: arromdee@crabcake.cs.jhu.edu)