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,dbcfe2b0a74da57e X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.stueberl.de!storethat.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Inherited Methods and such 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: <1190039166.449906.15070@g4g2000hsf.googlegroups.com> <1190041908.492024.263110@19g2000hsx.googlegroups.com> <1190060534.958182.51800@d55g2000hsg.googlegroups.com> <87tzptuhku.fsf@ludovic-brenta.org> <1190125656.071013.303640@22g2000hsm.googlegroups.com> <1ds7l1l7oeyrx.1cpsvrpkikour.dlg@40tude.net> <1190147965.676457.123000@d55g2000hsg.googlegroups.com> <1co37tau98gct.axsglmqh0xu9$.dlg@40tude.net> <1190213376.707449.146640@g4g2000hsf.googlegroups.com> Date: Wed, 19 Sep 2007 17:16:11 +0200 Message-ID: <1fl2wnziigxfd.1fjbag2hh8sbc$.dlg@40tude.net> NNTP-Posting-Date: 19 Sep 2007 17:10:46 CEST NNTP-Posting-Host: 9a6f6ffa.newsspool3.arcor-online.net X-Trace: DXC=@BZVLESRcW^\9P[:DUn00QMcF=Q^Z^V3X4Fo<]lROoRQ^;5]aA^R6>R95QbkSMH=9S[6LHn;2LCV^7enW;^6ZC`TIXm65S@:3>_Cdl@=O>4f2Z X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:2035 Date: 2007-09-19T17:10:46+02:00 List-Id: On Wed, 19 Sep 2007 07:49:36 -0700, Maciej Sobczak wrote: > On 18 Wrz, 23:12, "Dmitry A. Kazakov" > wrote: > >> But from behavioral point of view, the type is just equivalent to the >> behavior of its values. If an object behaves as if it had a specific type, >> then it just has that type > > Yes. What if that behaviour changes over time? Would you say that the > type changes over time as well? It cannot. Behavior is time-invariant, because it summarizes our expectance. If our expectance is wrong, then the program is incorrect, and reverse. > This is what justifies the concept of "dynamic type". No it does not. How does a dynamic type behave? The answer is - its objects dispatch in this an that way. The description of how they do this is the behavior, and it does not change... Or else it is not a well-typed language [that is in case when T'Class acts as if it were T, because it is not yet constructed, or whatever excuse one might use.] -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de