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,UTF8 Path: g2news2.google.com!news2.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! References: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> <10855f68-76a1-4600-ba65-464dab6c6274@w12g2000yqj.googlegroups.com> Date: Fri, 11 Jun 2010 05:11:51 -0400 Message-ID: <82mxv2ndbc.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:lIRILuc6jCC47RLb2ZDBX6CKI30= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 320c24c11fde3e197caa707526 Xref: g2news2.google.com comp.lang.ada:12605 Date: 2010-06-11T05:11:51-04:00 List-Id: Vadim Godunko writes: > On Jun 10, 10:13 am, "Randy Brukardt" wrote: >> >> 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). >> > I want to known more about how to use OOP in Ada without access types! I have an example of using Ada.Containers instead of access types at http://www.stephe-leake.org/ada/access_vs_object.html Ada 2005 isn't really ready for this; Ada 2012 will come closer, but I think Randy is overstating his case. -- -- Stephe