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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7a180be12347b9d3 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,7a180be12347b9d3 X-Google-Attributes: gid1108a1,public X-Google-ArrivalTime: 2002-02-08 16:10:57 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada,comp.object Subject: Re: Merits of re-dispatching [LONG] Date: Fri, 8 Feb 2002 19:16:00 -0500 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: <3c62524f.93369796@News.CIS.DFN.DE> <3c6397e5.3677906@News.CIS.DFN.DE> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Complaints-To: newsabuse@supernews.com Xref: archiver1.google.com comp.lang.ada:19805 comp.object:33762 Date: 2002-02-08T19:16:00-05:00 List-Id: "Dmitry A. Kazakov" wrote in message news:3c6397e5.3677906@News.CIS.DFN.DE... So there is no such examples! (:-)) As I pointed out in a previous message, you want the language to allow you to do this (redispatching), in order to allow the derived type to override the entire algorithm, instead of just parts of it. But you should always advertise which operations dispatch in an operation (especially if the operation is primitive for the type). Calling a dispatching operation from inside another method is not simply an implementation detail. (Unlike the case in which the call is static, which really is an implemenation detail.)