priorities of = and == revisited
Craig Jackson
dricej at drilex.UUCP
Thu Jan 28 05:26:29 AEST 1988
In article <1175 at ark.cs.vu.nl> maart at cs.vu.nl (Maarten Litmaath) writes:
>Allright, maybe I was a bit hasty in putting aside the 'backward compatibility'
>argument. Further, it's generally good to give assignment low priority, I
>guess. But on the other hand, as Tom Truscott mentioned, "C converted from
>x =OP y to x OP= y without too much hassle", so why not enhancing the
>language further ?
Don't forget that the change of x =OP y to x OP= y was made during C's
youth, when there were few implementations and relatively few programs
written in C. (Mostly just the Unix distribution itself.) And both
forms were allowed for many years. To make an incompatible changes,
where you could not continue the old forms for compatibility, today
is almost impossible.
Face, if you really wanted to rearrange == vs = you needed to make some
strong arguments to DMR about 15 years ago.
--
Craig Jackson
UUCP: {harvard!axiom,linus!axiom,ll-xn}!drilex!dricej
BIX: cjackson
More information about the Comp.lang.c
mailing list