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, REPLYTO_WITHOUT_TO_CC autolearn=no 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 From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: what are some of the uses for ada? Date: Tue, 08 Jun 2010 19:58:39 -0700 Organization: Aioe.org NNTP Server Message-ID: References: <8a40983e-59b4-4622-94fa-cd39146060bc@d37g2000yqm.googlegroups.com> <6ceb6f55-3d50-403d-8373-13401d1b26fd@d8g2000yqf.googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: c00eBs/j4mUkprxQFmXQpg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!gegeweb.org!aioe.org!not-for-mail Xref: g2news2.google.com comp.lang.ada:12456 Date: 2010-06-08T19:58:39-07:00 List-Id: 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. --Nasser