Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!rutgers!cmcl2!uupsi!sunic!news.funet.fi!hydra!cc.helsinki.fi!wirzenius From: wirzenius@cc.helsinki.fi (Lars Wirzenius) Newsgroups: comp.lang.c Subject: Re: When do you use "if ( a = b )"? Message-ID: <1991Mar30.155003.5775@cc.helsinki.fi> Date: 30 Mar 91 15:50:02 GMT References: <1991Mar19.192416.13756@unlv.edu> <1991Mar28.004147.705@worf.harvard.edu> <15617@smoke.brl.mil> <1991Mar29.195622.321@worf.harvard.edu> Organization: University of Helsinki Lines: 16 In article <1991Mar29.195622.321@worf.harvard.edu>, dmm@cfa.harvard.edu (David Meleedy) writes: > in fact, if it really gets under your skin, you can take the source code, > use a good editor to replace every EQU string with ==, and then delete the > define statement at the top. In fact you could do that will all but the Of course you could, except if might not work, as EQU might mean something else inside a string, for instance. You can't even use the preprocessor, since that would expand everything else as well. The major point is, why should you have to? Using define to change the syntax essentially creates a new language, which forces everyone to learn it. It is much better for the original programmer to learn to type better, or to use code templates or an abbreviation expanding editor. -- Lars Wirzenius wirzenius@cc.helsinki.fi