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,158ce2376534c35d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!aioe.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Derived private interface Date: Thu, 11 Aug 2011 10:07:11 +0200 Organization: cbb software GmbH Message-ID: <1luxw3i4h9z8e$.7a8ee3cf99u2.dlg@40tude.net> References: <27656578-65aa-48b9-9f89-4ebd4e0cb02a@glegroupsg2000goo.googlegroups.com> <0fe3b0f8-c064-444d-899d-640e891b58c3@w4g2000yqm.googlegroups.com> <128d8eb5-1cc6-47e3-a09b-b53a5ef289ce@m10g2000yqd.googlegroups.com> <4e141501$0$6629$9b4e6d93@newsspool2.arcor-online.net> <4b2728fc-6127-45d8-a314-9fc491701c26@g12g2000yqd.googlegroups.com> <82vcve4bqx.fsf@stephe-leake.org> <4e15b223$0$6541$9b4e6d93@newsspool4.arcor-online.net> <4a4f185d-5268-4d73-a5df-8149bd117e0f@h9g2000vbr.googlegroups.com> <1bs0xoar40rx.6yb23bgkfrew.dlg@40tude.net> Reply-To: mailbox@dmitry-kazakov.de NNTP-Posting-Host: lf56Hr/Nx7cQs7KUwqjmjw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: 40tude_Dialog/2.0.15.1 X-Notice: Filtered by postfilter v. 0.8.2 Xref: g2news2.google.com comp.lang.ada:21500 Date: 2011-08-11T10:07:11+02:00 List-Id: On Wed, 10 Aug 2011 16:56:00 -0500, Randy Brukardt wrote: > "Dmitry A. Kazakov" wrote in message > news:1bs0xoar40rx.6yb23bgkfrew.dlg@40tude.net... >> In reality >> there are many dispatching calls and many class-wide operations (for which >> there is no typed procedural equivalent). > > Reality? The reality is in the web server interface I was describing there > was only one such point of dispatch, and only a single interface to dispatch > to. It's clearly a special case, but one that is pretty common in the > systems I've worked on. The problem is that starting a project without OO, you have to gamble on whether this indeed is a special case and will remain special. This is called fragile design. It is bad that Ada offers a choice between types having classes and types without classes. A decision which should not be taken at all. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de