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,56131a5c3acc678e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-09 00:15:24 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!tar-atanamir.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: Question about OO programming in Ada Date: Tue, 09 Dec 2003 09:19:43 +0100 Message-ID: References: <1273941.m4G3ZzughP@linux1.krischik.com> <1070889942.156714@master.nyc.kbcfp.com> <5lcBb.4138$UM4.2773@nwrdny01.gnilink.net> NNTP-Posting-Host: tar-atanamir.cbb-automation.de (212.79.194.116) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1070957722 76456771 212.79.194.116 ([77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:3261 Date: 2003-12-09T09:19:43+01:00 List-Id: On Tue, 09 Dec 2003 04:38:25 GMT, Hyman Rosen wrote: >Dmitry A. Kazakov wrote: >> No dispatch is possible on specific types. This fact is >> language independent. > >No dispatch is necessary, but it is certainly possible. >Tagged objects have a dispatch table, and it can be used >even in those cases where the compiler knows the dynamic >type. Dispatch table is a property of a dispatching subroutine. >> The fact is, the same method sometimes appears dispatching and sometimes not. > >No, that is not the fact. The method is always dispatching, it is simply >that the dispatch table used is different at different times. It is a complementary view. Either we say that the type of an object is mutating or that the type of a formal parameter does (= changing the dispatch table = changing the subroutine parameter profile). The effect is same. It is no more strongly typed. -- Regards, Dmitry Kazakov http://www.dmitry-kazakov.de