Path: utzoo!mnetor!uunet!steinmetz!davidsen From: davidsen@steinmetz.steinmetz.ge.com (William E. Davidsen Jr) Newsgroups: comp.lang.c Subject: Re: == vs = Message-ID: <10262@steinmetz.steinmetz.ge.com> Date: 5 Apr 88 20:32:03 GMT References: <891@micomvax.UUCP> <48100001@lan000> Reply-To: davidsen@kbsvax.steinmetz.UUCP (William E. Davidsen Jr) Organization: General Electric CRD, Schenectady, NY Lines: 27 In article <48100001@lan000> iwb@lan000.UUCP writes: > [...] > I'm curious, is there anyone other than Ray Dunn that does >not like = and == ? As far as I know, he is the only one that >complains. If this is the case, I think he should write his own >language specification and call it...oh, I don't know...R ? > D, RC, RD are not allowed. > Why? Oh...I don't know... I complain! I have been teaching C for five years, as well as using it in projects for work. Incorrect use of = for == is one of the most common errors I see (not that any one error represents more than about 5%, I admit). Morover it shows up more in the code of experienced programmers, because they don'y make as many other mistakes. The problem is not a failure to understand, but a failure in typing, one of of the hardest errors to find. Did you catch the repeated use of "of" above? It's hard to find these things. Will the next language after C be D or P? After all, C came from B, and B was a cut down BCPL... -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs | seismo}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me