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.1 required=5.0 tests=BAYES_00, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,da85d9aaf769b16a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!u-picardie.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Generic package parameters not externally visible : what's the rational ? Date: Wed, 28 Oct 2009 14:12:22 -0500 Organization: Jacob Sparre Andersen Message-ID: References: NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1256757143 21270 69.95.181.76 (28 Oct 2009 19:12:23 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Wed, 28 Oct 2009 19:12:23 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Xref: g2news2.google.com comp.lang.ada:8831 Date: 2009-10-28T14:12:22-05:00 List-Id: "Hibou57 (Yannick Duch�ne)" wrote in message news:b6d32b60-333f-495d-b17a-7ab589690bbb@d10g2000yqh.googlegroups.com... ... >But right a few minutes ago, I was thinking that is may be finally >better to be able to hide something there. Perhaps peoples who were >talking about protecting type privacy, were thinking about a formal >parameter used in the private part of the package only. When it is >(this may not always be so much strange as it seems, to give formals >parameters which are only used in private part), it is better to not >make these visible from the outside. Providing this is a good answer, >then the actual is so just the best, because it allow to show or hide >at the discretion of the author (the language does not impose anything >there, except it hides by default, and that's finally a good fact). By jove, I think he's got it! :-) The above reasoning makes sense, and it actually seems to reflect the supposed rationale. It would be nice if a fuller example of this was included somewhere. (I'd put it into the AARM if I had any idea of where it should go.) Randy.