Date: Thu, 17 Oct 1996 08:03:29 -0600 (MDT) From: Nate Williams <nate@mt.sri.com> To: phk@freebsd.org Cc: hackers@freebsd.org Subject: Re: enum considered bad ? Message-ID: <199610171403.IAA17539@rocky.mt.sri.com> In-Reply-To: <2022.845535270@critter.tfs.com> References: <2022.845535270@critter.tfs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 ? I use it all the time for state machines in C, and I find it makes the code easier to understand. It's also a necessary evil in C++ for doing 'hidden' constants. Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610171403.IAA17539>