Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!ames!lll-tis!ptsfa!ihnp4!chinet!rlk From: rlk@chinet.UUCP (Richard Klappal) Newsgroups: comp.lang.c Subject: Re: enum type Message-ID: <1442@chinet.UUCP> Date: Wed, 26-Aug-87 00:07:53 EDT Article-I.D.: chinet.1442 Posted: Wed Aug 26 00:07:53 1987 Date-Received: Fri, 28-Aug-87 01:39:15 EDT References: <2048@umn-cs.UUCP> <6311@brl-smoke.ARPA> <2238@xanth.UUCP> <10360@orchid.waterloo.edu> Reply-To: rlk@chinet.UUCP (Richard Klappal) Organization: Chinet - Public Access Unix Lines: 21 In addition to automatic generation of values (if desired), without accidental duplicate values, enums give lint the ability to check consistent usage. Programming commandments (some) 1. Make it work. 2. Use lint 3. Make it maintainable 4. Use lint 5. Make it legible 6. Use lint 7. Make it portable 8. Use lint. -- --- UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021 ..!ihnp4!ihu1h!rlk ---