[Newbies] class name scoping

goran at krampe.se goran at krampe.se
Mon Aug 13 13:24:23 UTC 2007


Hi!

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.

regards, Göran


More information about the Beginners mailing list