Hi!
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 our classes?
--- Mark Volkmann
|
_______________________________________________
Beginners mailing list
Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
http://lists.squeakfoundation.org/mailman/listinfo/beginners
|