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,c08a7609345f4e5 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Limited use for limited with? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <853314bc-0f79-435f-86a5-d7bcdd610731@c10g2000yqh.googlegroups.com> <36e886fa-b272-461f-bf86-a6b18366b64f@i5g2000yqe.googlegroups.com> <1eug9v5h5mf8d$.ud00hrz48lyr.dlg@40tude.net> <67044906-dacc-4526-b3f6-27e5323ab8fc@n3g2000yqb.googlegroups.com> <12chb4kbqt9ln$.zumsv1z9hqvk$.dlg@40tude.net> <292dd0bd-1fc4-4715-bb70-7655d0dc04eb@j24g2000yqa.googlegroups.com> <1ffdzc3fkapks$.15g452pvvgrem$.dlg@40tude.net> <4ca35615$0$7659$9b4e6d93@newsspool1.arcor-online.net> Date: Wed, 29 Sep 2010 21:22:20 +0200 Message-ID: <1wka5zequhzd6.538j2b33xtc2.dlg@40tude.net> NNTP-Posting-Date: 29 Sep 2010 21:22:19 CEST NNTP-Posting-Host: e44b4726.newsspool3.arcor-online.net X-Trace: DXC=C^CH31YOF@bEB;5>eE0T7mMcF=Q^Z^V3h4Fo<]lROoRa8kF On Wed, 29 Sep 2010 17:07:01 +0200, Georg Bauhaus wrote: > On 29.09.10 15:41, Dmitry A. Kazakov wrote: >> On Wed, 29 Sep 2010 05:22:59 -0700 (PDT), Maciej Sobczak wrote: > >>> That is, Registry refers to Object (to fulfill the design >>> objective) and Object refers to Registry (to implement the automatic >>> unregistration). Yuck. >> >> Object would call a class-wide operation of Registry from its Finalize. > > If Object's design needs to be informed about future Registry > objects, how so? It need not, and you can dispatch from it anyway. Since Ada does not have full MD, one of the objects has to be class-wide. It is difficult to maintain two full-scale hierarchies of Objects and Registries. Normally the designer is forced to flatten one of them. This is why absence of MD is damaging to the design, but not in this case. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de