Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!portc02.blue.aol.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!uunet!in3.uu.net!uucp5.uu.net!world!carlg
From: carlg@world.std.com (Carl E Gundel)
Subject: Re: [Jigsaw/VSE] Smalltalk Namespaces
Message-ID: <E49tn9.Cnu@world.std.com>
Organization: The World, Public Access Internet, Brookline, MA
X-Newsreader: TIN [version 1.2 PL2]
References: <33026c9d.177983767@news.jumppoint.com> <32E1CA27.6F9A@wwa.com>
Date: Sun, 19 Jan 1997 19:47:33 GMT
Lines: 23

Charles L. Robinson (datec@wwa.com) wrote:
: Ian Upright wrote:
: > One problem I foresee with having every Joe writing applets in Smalltalk, is
: > what if Joe A and Joe B add two methods to Object, and they happened to be
: > the same name?

: You are quite correct. I believe that the subject of name space
: separtion is being discussed in the Smalltalk standards body although I
: do not know any of the details. As you point out, it is a problem even
: in a non-networked image if it uses 3rd party add-ins. Providing class
: or method abbreviation prefixes ala WBWidget signifying "Window Builder
: Widget" is a slease, but is unfortunately the only one currently
: available.

Perhaps a namespace id can be added in at compiler time, and just not be
visible in the source code.

Carl
-- 
------------------------------------------------------------------
 Carl Gundel  carlg@world.std.com  Shoptalk Systems  508-872-5315
 author of Liberty BASIC, a 1996 PC Magazine Awards Finalist!
 http://world.std.com/~carlg/basic.html
