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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,7272aa7508a3d83f X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!atl-c08.usenetserver.com!news.usenetserver.com!pc02.usenetserver.com!ALLTEL.NET-a2kHrUvQQWlmc!not-for-mail Date: Thu, 27 Oct 2005 13:28:54 -0500 From: "Marc A. Criley" User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: pointer questions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <19cfb$4361207d$4995001$19541@ALLTEL.NET> X-Complaints-To: abuse@usenetserver.com Organization: UseNetServer.com X-Trace: 19cfb4361207da13cf5a419541 Xref: g2news1.google.com comp.lang.ada:6009 Date: 2005-10-27T13:28:54-05:00 List-Id: Martin Dowie wrote: > Robert A Duff wrote: > >> Maybe the kinds of programs I write are different. Question for those >> who rarely use access types: what sort of application areas are you >> talking about? Mine are usually software development tools -- such as >> compilers. > > > Embedded defence apps and I can't remember the last time I needed an > access type! > > There's no need in this sort of app, as you know at compile time what > the maximum number of anything your system is required to deal with, so > you can always use a lookup table of some sort (even if it has an > 'In_Use : Boolean' field/discriminant. Now that is exactly the domain where I would expect to not see access types, for the reasons you cite (as well as related reasons having to do with predictability and the consequences of errors.) -- Marc A. Criley -- McKae Technologies -- www.mckae.com -- DTraq - XPath in Ada - XML EZ Out