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-7-bit Path: g2news2.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!u-picardie.fr!news.ecp.fr!news.jacob-sparre.dk!pnx.dk!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Thu, 10 Jun 2010 01:13:12 -0500 Organization: Jacob Sparre Andersen Message-ID: References: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> NNTP-Posting-Host: static-69-95-181-76.mad.choiceone.net X-Trace: munin.nbi.dk 1276150395 5370 69.95.181.76 (10 Jun 2010 06:13:15 GMT) X-Complaints-To: news@jacob-sparre.dk NNTP-Posting-Date: Thu, 10 Jun 2010 06:13:15 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-RFC2646: Format=Flowed; Original Xref: g2news2.google.com comp.lang.ada:12521 Date: 2010-06-10T01:13:12-05:00 List-Id: "Maciej Sobczak" wrote in message news:c459b285-851b-4d6f-95fe-0c28b58ddf45@e5g2000yqn.googlegroups.com... On 8 Cze, 10:53, "Martin Krischik" wrote: >> > In other words, you have been exposed to the overly object-oriented >> > style. >> >> And how is that any better then the over templatized way used today? > >You mean - how is that any worse. :-) > >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 almost 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 hidden from the program. (And it rarely is needed in the first place.) Randy.