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,a92e43963a6b930f X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!s9g2000yqd.googlegroups.com!not-for-mail From: John McCormick Newsgroups: comp.lang.ada Subject: Re: N best things about Ada? Date: Fri, 9 Jul 2010 04:52:24 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <97691fd2-7411-4ccc-bc7b-290aca633cd5@z30g2000prg.googlegroups.com> NNTP-Posting-Host: 67.212.111.21 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1278676344 20176 127.0.0.1 (9 Jul 2010 11:52:24 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 9 Jul 2010 11:52:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s9g2000yqd.googlegroups.com; posting-host=67.212.111.21; posting-account=jVm7MAoAAABZ69ylB7L9PjZAVQg4j4fC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:12283 Date: 2010-07-09T04:52:24-07:00 List-Id: On Jul 8, 7:52=A0pm, use...@scriptoriumdesigns.com wrote: > Serious question: =A0What do you consider the N best things / strong > points / biggest benefits of using Ada? =A0I'm asking as part of my case- > building for using Ada at work. =A0Of course I have my own list, but I > don't have anywhere near the Ada experience of most of you folks. > > Thanks. The ability to model scalars. This is the primary reason why my Ada students succeed and my C students fail in my Real-Time Systems class. One of the principles of object-oriented programming is the development of classes that accurately model the objects in the problem. We can apply this same approach to the design of our scalar types. By using scalar types that more accurately reflect the nature of the data in a problem we are solving, we can write better programs. One research study by Eisenstadt and analyzed by me in 1997 on the nature of costly software faults indicates that poor models of scalar quantities were responsible for nearly 90% of the errors in the cases studied. Ada allows programmers to define their own scalar data types that accurately model the scalar values in the problem domain. Eisenstadt, M, My hariest bug war stories, Commun ACM, 1997, vol 40, #4 30-37 McCormick, J., Forum letter, Commun ACM, 1997, vol 40, #8, 30