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,5ac1c1813029999b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-19 00:48:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!fu-berlin.de!uni-berlin.de!tar-alcarin.cbb-automation.DE!not-for-mail From: Dmitry A. Kazakov Newsgroups: comp.lang.ada Subject: Re: A bunch of questions that come after "Hello world" Date: Tue, 19 Nov 2002 09:48:18 +0100 Message-ID: <0aujtuc890gln15eofq26o2q32s4cdad27@4ax.com> References: <5ad0dd8a.0211131244.42603699@posting.google.com> <5ad0dd8a.0211140218.6d48be15@posting.google.com> <5ad0dd8a.0211150950.4d550163@posting.google.com> <5ad0dd8a.0211180224.1895e8ea@posting.google.com> <5ad0dd8a.0211180824.6078eb22@posting.google.com> NNTP-Posting-Host: tar-alcarin.cbb-automation.de (212.79.194.111) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1037695699 16907601 212.79.194.111 (16 [77047]) X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.lang.ada:31090 Date: 2002-11-19T09:48:18+01:00 List-Id: On 18 Nov 2002 08:24:56 -0800, wojtek@power.com.pl (Wojtek Narczynski) wrote: >Dmitry A. Kazakov wrote in message news:... > >> (...) >> Which will not compile. [An operation cannot be dispatching for two >> different types.] Your example does not dispatch, it is a class-wide >> operation which is same for Type1, Type2 and all types derived from >> them. >> (...) > >Thanks Dimitry. I've read the reference manul on this subject. I >couldn't have been more wrong. > >Ada is hard. Yes and no. IMO, Ada's idea of clear distinction between T and T'Class is the best recent achievement in OO. --- Regards, Dmitry Kazakov www.dmitry-kazakov.de