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,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9fdb4e673a488b12 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-09 13:46:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: Michal Nowak Newsgroups: comp.lang.ada Subject: Re: Placement of pragma Import Date: Mon, 09 Dec 2002 22:55:02 +0100 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3DF39358.1020903@acm.org> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7BIT X-Trace: avanie.enst.fr 1039470362 35603 137.194.161.2 (9 Dec 2002 21:46:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 9 Dec 2002 21:46:02 +0000 (UTC) Return-Path: In-reply-to: <3DF39358.1020903@acm.org> X-Mailer: Calypso Version 3.30.00.00 (3) Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: vinnie@inetia.pl List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:31607 Date: 2002-12-09T22:55:02+01:00 On 2002-12-08 at 18:44 Jeffrey Carter wrote: >As far as I can see, it makes absolutely no difference. Things in the >private part are not visible to clients in the Ada sense, but clients >cannot refer to the pragmata even if they are visible. The human reader >can see the private part, so putting them there does not hide them in >any way. > >If you could put them in the body, that would hide them from the human >reader, who should only have to refer to the spec to learn what the >package does and how to use it. But you can't do that, so it seems to >make no difference at all. > >Perhaps putting them in the private part will signal to human readers >that the information is not needed to understand the package. That is >the only reason I can see to prefer one over the other. Thank you. That sheds some light on the problem. - Michal -- ----------------------------------------------------------------- -- ___ _ -- / _ \ | | I Choose Ada: -- | |_| | ___| | _____ The Most Trusted Name in Software (TM) -- | _ | | __ | | __ | -- |_| |_| |_____|_ |_____|_ http://www.adaic.org/whyada/choose.html -- -- -----------------------------------------------------------------