Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83 (MC840302); site tjalk.UUCP
Path: utzoo!watmath!clyde!cbosgd!ihnp4!qantel!dual!lll-crg!seismo!mcvax!vu44!botter!tjalk!dick
From: dick@tjalk.UUCP (Dick Grune)
Newsgroups: net.lang.c
Subject: Re: abuse of #define
Message-ID: <512@tjalk.UUCP>
Date: Tue, 24-Sep-85 09:08:21 EDT
Article-I.D.: tjalk.512
Posted: Tue Sep 24 09:08:21 1985
Date-Received: Sun, 29-Sep-85 04:11:06 EDT
References: <206@sei.cmu.edu.ARPA>
Reply-To: dick@tjalk.UUCP (Dick Grune)
Organization: VU Informatica, Amsterdam
Lines: 21

In article <206@sei.cmu.edu.ARPA> dlc@sei.cmu.edu.ARPA (Daryl Clevenger) writes:
>I also think that things like :
>
>#define cylce for(;;) {
>
>and others are confusing.  Not only as was previously pointed out can 
>unforseen errors creep in, but understanding and modifying code is a pain.

On top of that it plays havox with cross referencers, beautifiers, or
any other programs that processes C text (and many cannot run the 
preprocessor first, if they want to work on the optical text).

I think #define should be used for defining small modifications, and
fortunately most people seem to agree (but not everybody, judging from
the text of sh).

					Dick Grune
					Vrije Universiteit
					de Boelelaan 1081
					1081 HV  Amsterdam
					the Netherlands