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,7ec96df455443b0a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "(see below)" Newsgroups: comp.lang.ada Subject: Re: what are some of the uses for ada? Date: Wed, 09 Jun 2010 05:37:19 +0100 Message-ID: References: <8a40983e-59b4-4622-94fa-cd39146060bc@d37g2000yqm.googlegroups.com> <6ceb6f55-3d50-403d-8373-13401d1b26fd@d8g2000yqf.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: individual.net a47cKkcGj4UwiWPVypMGFQuHEV7jV5tvoV94yrHPRt8D56YLqE Cancel-Lock: sha1:5XJ2M659tnlSgONXGihFJ2Nimtc= User-Agent: Microsoft-Entourage/12.23.0.091001 Thread-Topic: what are some of the uses for ada? Thread-Index: AcsHjXG63Q58TFDl1EW5lJBPuEIOkA== Xref: g2news2.google.com comp.lang.ada:12458 Date: 2010-06-09T05:37:19+01:00 List-Id: On 09/06/2010 03:58, in article hun01g$emp$1@speranza.aioe.org, "Nasser M. Abbasi" wrote: > On 6/8/2010 6:06 PM, Gautier write-only wrote: > >> you'll >> write "for i in x'Range loop" rather than having to pass a 'n' integer >> and putting the wrong upper bound on your loop. And so on... >> > > Along the same thought, I like that in Ada one can easily define an > array to start from 0 instead from 1. Depending on the problem. This can > make the coding much simpler. (less chance of making one-off error). > > In other languages, arrays starts from either 1 or 0. Only in *bad* languages. -- Bill Findlay chez blueyonder.co.uk