PRECEDENT FOR USE OF =

JUNG_E%SITVXA.BITNET at WISCVM.WISC.EDU JUNG_E%SITVXA.BITNET at WISCVM.WISC.EDU
Wed Jun 25 16:36:50 AEST 1986


Although this may be read by all, it is targetted for
Ken "Smurf Shredder" Montgomery at U Texas, self-acknowledged scum.

Why can't C be like everybody else?  Practically every language uses
the equals sign, "=", to test for equality, not as an assignment operator.
Everybody who's anybody knows that there is a problem in the use of "="
for more than one purpose, a la BASIC and FORTRAN.  Pascal resolves this
problem by continuing to use "=" to testing and creating ":=" for
assignments.  Kernighan and Ritchie, in their infinite wisdom, decide
instead to use "=" for assignments and to create a new operator, "==" to
test for equality.  Gee, that must have required brains, the brains of
a 3 year old.

If they had my brains, they would have used Pascal's method.  Better yet,
they should have let someone else write up C.

Edward Jung, Stevens Institute of Technology
JUNG_E at SITVXB.BITNET

PS: Ken, I don't like your cat.



More information about the Comp.lang.c mailing list