so far we have

        SystemDictionary>>organization 
                "Return the organizer for the receiver" 
                ^SystemOrganization

so it means that this is global in Smalltalk globals. 
But I'm skeptical that this can work for another instance of SystemDictionary
and even if this works I find this code brittle since it relies on the compiler 
global look up.

I was thinking that 

        either defining an organization as an instance variable 
SystemDictionary would make sense or 
        using an explicit lookup in the instance itself.

        SystemDictionary>>organization 
                "Return the organizer for the receiver" 
                ^ self at: #SystemOrganization

now I'm dead so I need other eyes.

Stef
        
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to