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,5af5c381381ac5a7 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: Ada requires too much typing! 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: <03f84a0a-e070-43a9-9b68-920345f64f94@r27g2000yqb.googlegroups.com> <1c704c1e-1b2e-427f-ae0e-3b2a0f976c7c@y4g2000yqy.googlegroups.com> <14cxhfhcbdmaa$.gp6rbqu5865h.dlg@40tude.net> Date: Wed, 9 Jun 2010 11:24:16 +0200 Message-ID: NNTP-Posting-Date: 09 Jun 2010 11:23:51 CEST NNTP-Posting-Host: bbb5e72d.newsspool1.arcor-online.net X-Trace: DXC=C:m7hJ9]FRdPXlQ;h]GTMdic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgb^GM=LloHJF`[6LHn;2LCVn7enW;^6ZC`d\`mfM[68DCcRENH5_;PA_k X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:12469 Date: 2010-06-09T11:23:51+02:00 List-Id: On Wed, 9 Jun 2010 01:43:56 -0700 (PDT), Maciej Sobczak wrote: > On 9 Cze, 10:10, "Dmitry A. Kazakov" > wrote: > >>> In other words, they are not intended for polymorphic use. >> >> No, they are for parametrically polymorphic use. > > By "polymorphism" I meant the parametrisation based on dynamic > dispatch, This is a specific form of polymorphism. > also known as object-orientation. There are different opinions on whether OO is limited to dynamic polymorphism. > Note, for example, that containers in C++ have no common base class/ > interface. In Ada this is similar. There is a common base, which is just not explicit. This is one of the weaknesses of parametric polymorphism that it does not provide any substitute for the class (= set of types) embedded in the language. E.g. you cannot name "all instances of a generic thing." -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de