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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,27af4b26a20589ec X-Google-Attributes: gid103376,public From: dennison@telepath.com Subject: Re: with'ing a "foreign" package or subsystem Date: 1999/03/02 Message-ID: <7bh09s$tqm$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 450371665 References: <7beg6a$2o4d@news1.newsguy.com> X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 204.48.27.130 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Tue Mar 02 15:32:12 1999 GMT Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.5 [en] (WinNT; I) Date: 1999-03-02T00:00:00+00:00 List-Id: In article <7beg6a$2o4d@news1.newsguy.com>, Samuel Mize wrote: > Matthew Heaney 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 ; > > 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