[Newbies] class name scoping
mark at ociweb.com
Mon Aug 13 13:32:04 UTC 2007
On Aug 13, 2007, at 8:24 AM, goran at krampe.se wrote:
> Mark Volkmann <mark at ociweb.com> wrote:
>> What happens in Smalltalk if multiple categories contain a class with
>> the same name? Is that allowed? If so, how do you specify which one
>> you want?
> Not allowed. Squeak has no namespaces. Categories have no "semantic"
> meaning, it is only for organisation.
Interesting. So if I develop a Smalltalk library and you develop one
and then someone decides to use both our libraries in their project
then they have a problem if you and I chose the same name for one of
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners