Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!aurora!ames!lll-tis!ptsfa!ihnp4!homxb!mtuxo!mtune!codas!usfvax2!ateng!chip From: chip@ateng.UUCP (Chip Salzenberg) Newsgroups: comp.lang.c Subject: Re: MAJOR ANSI C FLAW (my opinion, of course) Message-ID: <36@ateng.UUCP> Date: Mon, 12-Oct-87 15:03:47 EDT Article-I.D.: ateng.36 Posted: Mon Oct 12 15:03:47 1987 Date-Received: Wed, 14-Oct-87 05:39:06 EDT References: <1132@gilsys.UUCP> <11480008@hpsmtc1.HP.COM> Reply-To: chip@ateng.UUCP (Chip Salzenberg) Organization: A.T. Engineering, Tampa, FL Lines: 19 In article <11480008@hpsmtc1.HP.COM> swh@hpsmtc1.HP.COM (Steve Harrold) writes: > >#define longandverbose simple > >Steve Harrold ...hplabs!hpsmtc1!swh This is a good technique, but it's even better if the #define is conditional: #ifdef BRAINDAM /* AGED :-) */ #define longandverbose terse #endif Note that this method is still a royal pain when debugging. -- Chip Salzenberg "chip@ateng.UUCP" or "{uunet,usfvax2}!ateng!chip" A.T. Engineering My employer's opinions are not mine, but these are. "Gentlemen, your work today has been outstanding. I intend to recommend you all for promotion -- in whatever fleet we end up serving." - JTK