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 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Passing a 2d array into a package and returning the same processed 2d back to main Date: Sat, 1 Oct 2016 15:16:57 -0700 Organization: Also freenews.netfront.net; news.tornevall.net; news.eternal-september.org Message-ID: References: <44638b2d-c7fb-4113-9262-d57dd1cd5629@googlegroups.com> <956441a1-5a50-43d4-9727-e17330cf759d@googlegroups.com> <0f37618a-ffbd-4fb6-bd53-fbe522be9158@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 1 Oct 2016 22:16:57 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="6df4b173985f7c5c043cea362c370ff7"; logging-data="2031"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2FUkzziaNGLuSzceJDOP4lvn97BwrGYs=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 In-Reply-To: <0f37618a-ffbd-4fb6-bd53-fbe522be9158@googlegroups.com> Cancel-Lock: sha1:pzFILeQi1qZVoy+I0u+d0NSF89g= Xref: news.eternal-september.org comp.lang.ada:31966 Date: 2016-10-01T15:16:57-07:00 List-Id: On 10/01/2016 02:59 PM, Aurele wrote: >> There is no need for access types for this problem. > > That maybe true, but it nonetheless works and its fast. You could write it in assembler and it would work and be fast. There are reasons not to use assembler, and there are reasons not to use access types. There are probably no applications that you, the OP, or I are likely to work on where access types and their associated errors are needed or the best choice. Certainly there should never be visible access types in a pkg spec. -- Jeff Carter "My legs are gray, my ears are gnarled, my eyes are old and bent." Monty Python's Life of Brian 81