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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.236.63.197 with SMTP id a45mr3979187yhd.9.1412712329520; Tue, 07 Oct 2014 13:05:29 -0700 (PDT) X-Received: by 10.140.30.36 with SMTP id c33mr374357qgc.2.1412712329324; Tue, 07 Oct 2014 13:05:29 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!dc16no1237505qab.1!news-out.google.com!rp1ni22519igb.0!nntp.google.com!s7no1119251qap.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 7 Oct 2014 13:05:29 -0700 (PDT) In-Reply-To: <7c811e73-61e2-4c89-abb3-749d31461758@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=206.53.78.59; posting-account=ShYTIAoAAABytvcS76ZrG9GdaV-nXYKy NNTP-Posting-Host: 206.53.78.59 References: <7c811e73-61e2-4c89-abb3-749d31461758@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5d1d4904-28dc-478e-8ea4-161f2804adc7@googlegroups.com> Subject: Re: package body From: sbelmont700@gmail.com Injection-Date: Tue, 07 Oct 2014 20:05:29 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:22194 Date: 2014-10-07T13:05:29-07:00 List-Id: On Tuesday, October 7, 2014 3:58:36 PM UTC-4, Stribor40 wrote: >=20 > Is there anything wrong with doing g it this way and if there is better w= ay to do this? The preferred way (open to interpretation) is to remove the object entirely= , expose the type in the spec, have the client declare it as necessary, and= pass it as an 'in out' argument to the functions. Or, even better, wrap i= t up in a private type and so forth. -sb