From: "Michael van der Gulik" mikevdg@gmail.com Reply-To: The general-purpose Squeak developers listsqueak-dev@lists.squeakfoundation.org To: "The general-purpose Squeak developers list"squeak-dev@lists.squeakfoundation.org Subject: Re: Squeak and Namespaces Date: Thu, 30 Nov 2006 12:07:24 +1300
On 11/29/06, Klaus D. Witzel klaus.witzel@cobss.com wrote:
Morphic >~ View Tweak >~ View System >~ Default >~ Compiler My >~ Terrific >~ Compiler
Implementing Namespaces like this would mean that your code runs slower. In order to refer to a class, you'll need to send a message to a Namespace every time you refer to it, rather than just refer to the class directly.
It wouldn't have to. No matter how the mechanism works, it can be resolved at compile time to point to the actual location of the class, so slightly slower compile but that's it. I can't think of any reason to do such lookups dynamically.
Also, your message names are capitalised, which will have a negative affect on your karma.
Michael.
Well if you see them as Name or Class spaces then I think convention would indicate they should be upper case.
_________________________________________________________________ Get free, personalized commercial-free online radio with MSN Radio powered by Pandora http://radio.msn.com/?icid=T002MSN03A07001