+1
- Bert -
On Nov 28, 2006, at 22:52 , Mikael Kindborg wrote:
Hi.
Göran gave a demo of the namespace system at a SWESUG meeting, and its was clean and easy to understand. You just name your classes as if you would have prefixed them, like this:
Prefix::ClassName
The tools hide the prefix unless it is needed to disambiguate a name. There is no need to use the namespace prefixes, the namespace system works fine together with the existing global namespace.
Would be a good idea to put this into the next release.
Best, Micke
On 11/21/06, Bert Freudenberg bert@freudenbergs.de wrote:
On Nov 21, 2006, at 17:32 , Aaron Reichow wrote:
Ahoy!
I know this might sound like a naive question... But why haven't we implemented namespaces yet? I'm sure there have been some attempts- but what is the status of namespaces in Squeak?
You can download the latest incarnation of Namespaces from Squeakmap
http://map.squeak.org/package/f88f4752-c4a5-42bf-a613-
f7d2a4f48cff
There has been a lot of discussion, but I think most agree now that this is such a simple approach that it might be worth adopting. There is a presentation somewhere explaining it, I'm sure Göran will dig it out if nobody beats him to it.
- Bert -