This idea of globals is wrong and not modular. And the idea to use global
variable instead of a instance variable makes the system
difficult to cut in module.
A namespace holds its organization.
So it should be more….
SystemOrganizer>>default
"look in the environment that the receiver organizes for the associated
organization"
^ self environment organization
On Dec 2, 2011, at 12:15 AM, Luc Fabresse wrote:
>
> 2011/12/1 Sean P. DeNigris <[email protected]>
> SystemNavigation default. -> an object that let's you navigate the current
> system
> SystemOrganizer default. -> ??? To get what I would expect from above, it
> seems I need to access the global SystemOrganization.
>
> Does anyone else find this confusing?
>
> yes ;-)
>
> Luc
>
>
> Sean
>
> --
> View this message in context:
> http://forum.world.st/SystemNavigation-vs-SystemOrganizer-tp4131010p4131010.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
>