comp.lang.ada
 help / color / mirror / Atom feed
From: dennison@telepath.com
Subject: Re: with'ing a "foreign" package or subsystem
Date: 1999/03/02
Date: 1999-03-02T00:00:00+00:00	[thread overview]
Message-ID: <7bh09s$tqm$1@nnrp1.dejanews.com> (raw)
In-Reply-To: 7beg6a$2o4d@news1.newsguy.com

In article <7beg6a$2o4d@news1.newsguy.com>,
  Samuel Mize <smize@imagin.net> wrote:
> Matthew Heaney <matthew_heaney@acm.org> wrote:
> > Can both packages coexist in the same application?  Is there a way to
> > give a package a "virtual" subsystem, to prevent name-space conflicts
> > like this?  Something like:
> >
> > package ACME.Stacks renames <ACME company's "Stacks">;
>
> I assume you would also change the name of ACME's Stacks, so your
> Stacks and ACME's Stacks would no longer collide.
>
> Having done that, you may as well just use the altered name.  Won't you
> have to rework the code that uses them just as much either way?
>
> Did I miss something here?  I'm not trying to give a smart-ass reply,
> I honestly don't see where you're heading.

I think what he's getting at (correct me if I'm wrong here Matt), is that he
wants to be able to "reveal" the first declaration of an object by renaming
the second declaration off of it.

While I think lots of use-philes would like that capability too,....YUK!

> I'd say parent packages defining independent name-spaces is the
> intended mechanism for preventing conflicts.  To resolve them after
> they occur, I think you just have to bite the bullet and rename one
> of them.

Yeah. You're looking for a language solution to what was really a management
problem. Chalk this one up to experience, fix it, and move on.


T.E.D.

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




  reply	other threads:[~1999-03-02  0:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-28  0:00 with'ing a "foreign" package or subsystem Matthew Heaney
1999-02-28  0:00 ` nabbasi
1999-03-01  0:00   ` dennison
1999-03-01  0:00   ` Nick Roberts
1999-03-01  0:00     ` Ehud Lamm
1999-03-01  0:00 ` Samuel Mize
1999-03-02  0:00   ` dennison [this message]
1999-03-01  0:00 ` dennison
1999-03-01  0:00 ` dennison
1999-03-01  0:00 ` robert_dewar
replies disabled

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