deep problems (Monticello & class methods)
Damien Cassou
damien.cassou at laposte.net
Tue Aug 1 18:54:02 UTC 2006
nicolas cellier wrote:
> poolDicionaries would better be named sharedVariableDIctionary or sharedPool.
> It enables your code to have Shared Global Variables, some kind of global
> variables (like Smalltalk) that are accessible only to restricted classes
> that declared it.
>
> You get a perfect example with TextConstants. You can use text constants like
> CR as a global variable when you declare it as poolDictionary.
Thank you for this explanation. Another question: where are those shared
variables declared ? For example, where is TextConstants ? Is it just in
the image as this, or declared in a class ?
More information about the Squeak-dev
mailing list
|