Path: utzoo!attcan!uunet!snorkelwacker!usc!samsung!umich!sharkey!amara!mcdaniel From: mcdaniel@adi.com (Tim McDaniel) Newsgroups: comp.lang.c Subject: Re: more on TRUE and FALSE (sorry) with JOKES Message-ID: Date: 17 Sep 90 19:06:10 GMT References: <9@christmas.UUCP> Sender: news@adi.COM Organization: Applied Dynamics International, Inc.; Ann Arbor, Michigan, USA Lines: 16 In-reply-to: rtm@christmas.UUCP's message of 14 Sep 90 23:00:48 GMT In article <9@christmas.UUCP> rtm@christmas.UUCP (Richard Minner) writes: More to the point, it's good practice to give boolean variables and functions `predicate' names, e.g. use `is_init' instead of just `init', and is_valid(thing) instead of check(thing). Excellent. A warning to the unStandardified: external names beginning with "is" or "to", followed by a lowercase letter, followed by any identifier characters, is reserved in the Standard if you include . 'is_init' or 'isInit' is portable; 'isinit' is not. -- Tim McDaniel Applied Dynamics Int'l.; Ann Arbor, Michigan, USA Work phone: +313 973 1300 Home phone: +313 677 4386 Internet: mcdaniel@adi.com UUCP: {uunet,sharkey}!amara!mcdaniel