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,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!d8g2000yqf.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Wed, 9 Jun 2010 23:19:41 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4db36585-569d-4f24-ab95-0c7177e5d09b@d8g2000yqf.googlegroups.com> References: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1276150781 20743 127.0.0.1 (10 Jun 2010 06:19:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 10 Jun 2010 06:19:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d8g2000yqf.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; WOW64; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:12523 Date: 2010-06-09T23:19:41-07:00 List-Id: On 10 Jun., 08:13, "Randy Brukardt" wrote: > >The overly object-oriented style (OOO (tm)) promotes or even relies on > >overly dynamic memory management model. > >This naturally leads to Pointers Everywhere Driven Development (PEDD). > > Maybe in C++, but in Ada, if you are defining OOP using pointers, you are > doing something wrong. (Probably copying a crappy design from some other > language.) There should be almost no visible access types (and I say almo= st > only to allow the accessor magic of Ada 2012). > > When this is done, even the use of objects of 'Class can be managed with > Ada.Containers, and any needed dynamic allocation can be completely hidde= n > from the program. (And it rarely is needed in the first place.) > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Randy. Randy, which AI is the favoured solution (there are several proposals)? The current Amendment 2 RM is still Draft 8 which does not include this accessor magic.