From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.5-pre1 (2020-06-20) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.5-pre1 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Visibility issue Date: Wed, 16 Sep 2020 16:49:38 +0200 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <27269975-58eb-407b-98ca-344bee6894d2n@googlegroups.com> <28481dfd-7127-4106-bcfd-f085ffbf228fn@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Wed, 16 Sep 2020 14:49:39 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="b8bfa5e17d70e5d385e19e3d4cfd8612"; logging-data="15649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/qEtA3AnOcA8HzXFJ7vyzMP0WPlQleDbk=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cancel-Lock: sha1:juH3jdgn3skpyOwsUlMJ3Xl9TJk= In-Reply-To: Content-Language: en-US Xref: reader02.eternal-september.org comp.lang.ada:60169 List-Id: On 9/16/20 4:35 PM, Daniel wrote: > > Then, I assume there is not a clear solution in Ada due to my imposed requirements (I'm not sure if it's possible with another language also) > So if the "Implementation side" needs all details, I only think in two options : > 1.- Put the details of implementation in a children package in the API hierarchy, and try to explain users to don't "with it". I can try to make it really empty in the public part of the children package and only put what its needed for the implementation. > 2.- Take out the details from "API hierarchy packages" to the "Implementation package hierarchy" and make visible everything I need in the "API side", and try also to explain users to don't use them. 3. You recognize that you have things that are common to both hierarchies, and put them somewhere that both can access. -- Jeff Carter "IMHO, Interfaces are worthless." Randy Brukardt 117