I'm wondering, the Color handling of different colors like blue etc where it dynamically creates class variables for a number of colors, is that the standard idiom or as the code looks to be kind of old, is it no longer accepted practice.

If I needed to do something similar should I be following Color's example or instead creating singletons?

What's the best practice in this scenario? Are there smalltalk specific drawbacks to either approach that a beginning wouldn't
be readily aware of?

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to