[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: breaking up?
- From: Manoj Dhooria +91-22-596-0985 <manojd@geometricsoftware.com>
- To: Peter Piatko <piatko@research.telcordia.com>,Al Snell <alaric@alaric-snell.com>, Sean McGrath <sean.mcgrath@propylon.com>
- Date: Tue, 07 Aug 2001 12:16:38 +0530
"I get the impression that many people don't make use of namespaces": Here
is someone who does use them - as one of the enabling technologies for third
party extensions to a software product line.
Manoj Dhooria
Geometric Software, Bombay
-----Original Message-----
From: Peter Piatko [mailto:piatko@research.telcordia.com]
Sent: Tuesday, August 07, 2001 2:03 AM
To: Al Snell; Sean McGrath
Cc: xml-dev@lists.xml.org
Subject: Re: breaking up?
----- Original Message -----
From: "Al Snell" <alaric@alaric-snell.com>
To: "Sean McGrath" <sean.mcgrath@propylon.com>
Cc: <xml-dev@lists.xml.org>
Sent: Monday, August 06, 2001 12:40 PM
Subject: RE: breaking up?
> On Mon, 6 Aug 2001, Sean McGrath wrote:
>
> > I have never - outside of using other W3C technologies - had a need
> > for namespaces and a thin layer of skin peels away from the soles
> > of my feet every time I think about them to hard.
>
> I've never ever heard that expression before!
>
As a person more familiar with programming languages than markup, I find
this akin to having an allergic reaction to the "package" construct in Java.
;-)
I'm sure plenty of people will point out holes in my analogy, but for the
sake of argument, I could say that packages in Java are around simply to
resolve class name conflicts, and (w/ apologies to Sean for paraphrasing his
above comment) that I have never - outside of what comes with the JDK - had
a need for packages and that various layers of skin and limbs fall off just
at the thought of them (i.e. lord forbid if I put *my* class definitions in
a package).
In fact, in Java I don't have to declare my classes in any package, and this
works out fine for small programs, but it's pretty clear that an organizing
principle above class definitions is a good idea as programs get larger.
That's what packages are for.
I tend to think that namespaces in XML at least attempt to play a similar
role to packages in Java. From the past few days of reading the mailing
list I get the impression that many people don't make use of namespaces. Am
I making an even vaguely correct statement? If this is true, I wonder why.
Are vocabularies sufficiently small so that namespaces are unnecessary?
Thanks,
Peter
------------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org>, an initiative
of OASIS <http://www.oasis-open.org>
The list archives are at http://lists.xml.org/archives/xml-dev/
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: xml-dev-request@lists.xml.org