On Mon, Oct 6, 2008 at 2:19 PM, Mark Volkmann <mark@ociweb.com> wrote:Have I summarized this correctly?Smalltalk doesn't support the concept of enumerated types like in Java 5 and above. Instead, the Smalltalk way is to:
<snip>
What are you using enums for? I've never found I've needed them, often because the need for them can be refactored away and you end up with cleaner code.
Often I just use symbols (i.e. #red, #blue, #green). These are generic descriptive names for thingies.