From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868fe8fe0ec86c1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-09 05:31:02 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!grolier!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: gerhard.nospam@bigfoot.de (Gerhard =?iso-8859-1?Q?H=E4ring?=) Newsgroups: comp.lang.ada Subject: Re: smalltalk vs. Ada Supersedes: Date: Sat, 9 Jun 2001 13:11:39 +0200 Organization: T-Online Message-ID: References: <3B214B35.A08A7414@ftw.rsc.raytheon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 992089785 02 1888 su6-SgdSYADXS 010609 12:29:45 X-Complaints-To: abuse@t-online.com X-Sender: 320066699498-0001@t-dialin.net User-Agent: slrn/0.9.6.3 (Linux) Xref: archiver1.google.com comp.lang.ada:8486 Date: 2001-06-09T13:11:39+02:00 List-Id: On Fri, 08 Jun 2001 17:01:25 -0500, Wes Groleau wrote: >> Ada has a hierarchial namespace. In Smalltalk, the class namspace is flat. > >Java has a sort of hierarchical namespace, but--here we go again--it's tied >to a particular implementation: a hierarchical directory structure. No, it's not (the Java language specification doesn't specify this at all). This may be an implementation restriction of many of the more popular Java compilers (most, not all; IIRC IBM's VisualAge only works on a repository, no files or directories) For the runtime, this restriction does not exist at all. In fact, you can implement any custom class loader by extending the abstract class java.lang.ClassLoader. Typical examples are loading classes from the network (applets) or from a database. Gerhard -- mail: gerhard bigfoot de registered Linux user #64239 web: http://highqualdev.com public key at homepage public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) You will be a winner today. Pick a fight with a four-year-old.