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,18f6de557e6897b2 X-Google-Attributes: gid103376,public From: clines@delete_this.airmail.net (Kevin Cline) Subject: Re: circular unit dependency Date: 1997/06/01 Message-ID: <1AF3D92DC96C496B.A46C2A085C1A7ABB.48C9498C8799EABA@library-proxy.airnews.net>#1/1 X-Deja-AN: 245351245 References: <3386d96f.171920@noticias.ibernet.es> <9A7E8196B8D7EE83.E6C868B798076E45.6F1AD9E8B3E01F66@library-proxy.airnews.net> <3390987B.60DD@sprintmail.com> X-Orig-Message-ID: <3391f4a6.1268712@news.airmail.net> Organization: INTERNET AMERICA NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.lang.ada Date: 1997-06-01T00:00:00+00:00 List-Id: "John G. Volan" wrote: >Woops, here we go again! :-) > >Kevin Cline wrote: >> >> Put them both in the same package, since neither is useful without the other. > >Au contraire, mon frere! Class1 may be useful in contexts 1, 2, 3 and 4; >class2 in contexts 3, 4, 5 and 6. If I am writing client code in >context 1 or 2, why should I care a whit about Class2? It doesn't matter which ones you "care" about. To use either, you have to link both package bodies. The package interface and package body are two separate aspects of a single software component. Circular dependencies between components should be avoided.