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=-0.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1dd28d5040ded1f8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-09 07:21:43 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!paloalto-snh1.gtei.net!news.gtei.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3CDA85F3.A3F7D318@despammed.com> From: Wes Groleau Reply-To: wesgroleau@despammed.com X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,es-MX,es,pt,fr-CA,fr MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Announce: Grace project site operational References: <3CD88FBD.4070706@telepath.com> <3CD91E31.1060004@telepath.com> <3CD94E63.3050607@mail.com> <4519e058.0205081400.58283a90@posting.google.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 09 May 2002 09:21:39 -0500 NNTP-Posting-Host: 151.168.144.162 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1020954102 151.168.144.162 (Thu, 09 May 2002 09:21:42 CDT) NNTP-Posting-Date: Thu, 09 May 2002 09:21:42 CDT Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:23770 Date: 2002-05-09T09:21:39-05:00 List-Id: > I'd say that's a bit of a stretch. In my code I find "count types" > most useful as array indices (something you *really* don't want to > mix). With the list package there's no direct indexing (currently), so Strong typing fanatics might claim (I don't) that indexing and counting are independent and should have separate types. I can remember seeing folks make the mistake of confusing a change in temperature with the temperature itself. Usually, for convenience, both have the same type. (I have also seen a lot of proctalgia in coding to cope with the computations involved in making them different. Note that Ada made the separate types choice for the analogous situation of Duration & Time. I once read a booklet by a person who claimed to have been an electrical engineer at NASA. I didn't believe it when I read how he took "one -10" (a drop in temperature of ten degrees) and turned it into "the other -10" (ten degrees below freezing). I'm rambling, but my point is that such a separation is nearly painless if the appropriate operations are correctly defined and transparent to the client, but that correctly defining the operations is difficult for many people. Even seeing the need for such operations is beyond the capability of a few folks. -- Wes Groleau http://freepages.rootsweb.com/~wgroleau