mrm@datagen.UUCP (07/17/84)
The reason I heard that Ritchie objected to unary + is that it doesn't give
the programmer any power (except to insure an lvalue is an rvalue). The
argument for adding unary + was that other languages have it, and it
makes writing a program which translates other languages into C easier.
Michael Meissner
Data General Corporation
...{ ihpn4, rocky2, decvax!ittvax, allegra }!datagen!mrmgwyn@brl-tgr.UUCP (07/19/84)
Another use for unary + is to make things line up better: xprime = + x * cos( theta ) + y * sin( theta ); yprime = - x * sin( theta ) + y * cos( theta ); Admittedly a weak reason for adding something to a programming language.