comp.lang.ada
 help / color / mirror / Atom feed
From: gerhard.nospam@bigfoot.de (Gerhard Häring)
Subject: Re: smalltalk vs. Ada
Date: Sat, 9 Jun 2001 13:11:39 +0200
Date: 2001-06-09T13:11:39+02:00	[thread overview]
Message-ID: <slrn9i45gm.1f8.gerhard.nospam@lilith.hqd-internal> (raw)
In-Reply-To: 3B214B35.A08A7414@ftw.rsc.raytheon.com

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 <at> bigfoot <dot> 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.



  parent reply	other threads:[~2001-06-09 11:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-07 22:20 smalltalk vs. Ada Rod Weston
2001-06-07 22:27 ` Ed Falis
2001-06-08  0:32   ` Gary Scott
2001-06-07 22:46 ` Aron Felix Gurski
2001-06-08  1:26 ` Jon S Anthony
2001-06-08 14:16 ` Marin David Condic
2001-06-08 20:17 ` Mark Lundquist
2001-06-08 22:01   ` Wes Groleau
2001-06-08 23:03     ` Chris Campbell
2001-06-09 11:11     ` Gerhard Häring [this message]
2001-06-08 22:08   ` Ed Falis
2001-06-09  7:36     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox