Domaining using classes.

stéphane ducasse ducasse at iam.unibe.ch
Sat Aug 12 08:50:56 UTC 2006


But classboxes were an experiment. The tool support is not deep enough


On 12 août 06, at 05:45, Klaus D. Witzel wrote:

> On Sat, 12 Aug 2006 03:41:17 +0200, Michael van der Gulik wrote:
> ...
>> In other words, each domain has its own set of classes, but each  
>> class shares its instance variables (methodDict,  
>> instanceVariables, superclass, format etc) with other classes of  
>> the same... er... class.
>>
>> I could probably cludge up some Namespacing or other magic to get  
>> "Person" to resolve to the domain's local version of the Person  
>> class, so you don't need to use "adPerson" and "bdPerson" but just  
>> "Person".
>
> Have you considered using classboxes for that, see
>
> - http://citeseer.ist.psu.edu/684648.html
>
> Though classboxes is about local methods, it can be put to use for  
> "just" local classes.
>
> /Klaus
>
>




More information about the Squeak-dev mailing list