From owner-freebsd-hackers Thu Oct 17 01:47:47 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA17095 for hackers-outgoing; Thu, 17 Oct 1996 01:47:47 -0700 (PDT) Received: from asstdc.scgt.oz.au (root@asstdc.scgt.oz.au [202.14.234.65]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA17083; Thu, 17 Oct 1996 01:47:32 -0700 (PDT) Received: (from imb@localhost) by asstdc.scgt.oz.au (8.7.6/BSD4.4) id SAA09564 Thu, 17 Oct 1996 18:47:13 +1000 (EST) From: michael butler Message-Id: <199610170847.SAA09564@asstdc.scgt.oz.au> Subject: Re: enum considered bad ? In-Reply-To: <2022.845535270@critter.tfs.com> from Poul-Henning Kamp at "Oct 17, 96 08:54:30 am" To: phk@freebsd.org Date: Thu, 17 Oct 1996 18:47:12 +1000 (EST) Cc: hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Poul-Henning Kamp writes: > I've noticed that "enum" is hardly ever used in C programs, is this > because people consider it a bad idea or because they havn't really > got the swing of it ? Personally, I find them great for state-tables but I suspect that too many view them as being too reminiscent of Pascal .. "real programmers don't need names for things, they know them all intimately by number", michael