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

Sean P. DeNigris sean at clipperadams.com
Wed Jan 22 07:38:34 CST 2014


Juan Vuletich-4 wrote
> I don't like pooldictionaries. They look like "hidden globals" to me, 
> and they are as bad as regular globals. Maybe there were good reasons 
> for them 30 years ago, but I don't see any today, except for
> compatibility.

I agree that they should be avoided if possible, but they seem useful e.g.
for NativeBoost in Pharo. There are many C constants, and you'd like to
refer to them directly so you can copy/paste from documentation, and so that
you don't have to context switch as much when writing C calls. With shared
pools, you can import them into the namespace of all classes that directly
access the library.



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




More information about the Cuis mailing list