Path: utzoo!mnetor!uunet!husc6!linus!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: comp.lang.c Subject: Re: gotos Message-ID: <2819@mmintl.UUCP> Date: 18 Apr 88 20:59:29 GMT References: <2571@cognos.UUCP> <77200029@uiucdcsp> <1988Apr5.213343.1528@utzoo.uucp> <4160@auspyr.UUCP> Reply-To: franka@mmintl.UUCP (Frank Adams) Organization: Ashton-Tate Corporation, East Hartford Development Center Lines: 13 In article <4160@auspyr.UUCP> mick@auspyr.UUCP (Michael J. Andrew) writes: >Provide each member of the team a $500 bonus at the start of a new >project, but deduct $50 each time a global variable is introduced >into the design. This isn't good enough. One can simply create a struct with one component for each thing which would otherwise be a global variable, and have a single instance of it as the only global variable. This makes the code harder to read, of course, but it saves (the team) money. -- Frank Adams ihnp4!philabs!pwa-b!mmintl!franka Ashton-Tate 52 Oakland Ave North E. Hartford, CT 06108