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,26a21b9e317dc639 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.213.103 with SMTP id nr7mr4146379pbc.7.1353486239607; Wed, 21 Nov 2012 00:23:59 -0800 (PST) Path: 6ni3080pbd.1!nntp.google.com!news.glorb.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Access type to member procedure of instance (Object Oriented programming in Ada) Date: Wed, 21 Nov 2012 09:24:40 +0100 Organization: cbb software GmbH Message-ID: <4ayu88ck8dkd.1qcy3gnnf7ove.dlg@40tude.net> References: <9b0bcb37-8ae3-440f-af4f-a796702e4250@googlegroups.com> <49cdda31-d0bd-42f2-8076-65504105d07e@googlegroups.com> <2d141696-2cd2-4805-8c51-cf6620abc9ce@googlegroups.com> <1ilx4ms9xk5h8.pz5jsnqrogye.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: FbOMkhMtVLVmu7IwBnt1tw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Date: 2012-11-21T09:24:40+01:00 List-Id: On Tue, 20 Nov 2012 15:51:41 -0600, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:1ilx4ms9xk5h8.pz5jsnqrogye.dlg@40tude.net... > ... >>No idea. It is a great mystery to me what makes into the language and what >>does not. Considering this one: > > Obviously, you can read the AIs and the meeting minutes to find out why > things were done the way they are. These do not explain the decisions made. It is people who support some AIs and do not support others. >> 1. Why closures at all? > > I assume we're talking about Ada's "prefixed views" (closures are something > else to me). I meant member pointers here, which are a form of a closure. I don't see strong case for these. The standard OO model that passes a proper object[s] and then calls to an operation of a statically known name, maybe, dispatching is the way to do things. Functional programming mess, please. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de