[Cuis] [Philosophy] Do we need pool dictionaries?

Sean P. DeNigris sean at clipperadams.com
Wed Jan 22 12:47:52 CST 2014


Nicolas Cellier wrote
> But then, what difference with class variables?

It's just like class variables but more flexible because:
- you import a specific group or groups instead of individual names
- you don't "waste" committing to a superclass. Without multiple
inheritance, this is important. For example, in NativeBoost, there are
objects representing external entities, which will use C constant names, and
must inherit from a particular NativeBoost class. Then, if you make a facade
for the library functions themselves, which also need the constants defined,
but will not be subclassed from the same object.



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Philosophy-Do-we-need-pool-dictionaries-tp4701469p4738491.html
Sent from the Cuis Smalltalk mailing list archive at Nabble.com.




More information about the Cuis mailing list