logo       

Re: class name scoping: msg#00096

lang.smalltalk.squeak.beginners

Subject: Re: class name scoping

Hi!

Mark Volkmann <mark@xxxxxxxxxx> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise