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-Thread: 103376,29d8139471e3f53e X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Preventing type extensions Date: Thu, 23 Sep 2010 22:28:09 +0200 Organization: A noiseless patient Spider Message-ID: <877hic8asm.fsf@ludovic-brenta.org> References: <87iq2bfenl.fsf@mid.deneb.enyo.de> <874odv9npv.fsf@ludovic-brenta.org> <87y6b7cedd.fsf@mid.deneb.enyo.de> <66a3704c-54f9-4f04-8860-aa12f516134b@t3g2000vbb.googlegroups.com> <87d3sib44t.fsf@mid.deneb.enyo.de> <134q4k2ly2pf4$.17nlv1q6q5ivo.dlg@40tude.net> <4c8dec8e$0$6990$9b4e6d93@newsspool4.arcor-online.net> <8f6cceFrv2U1@mid.individual.net> <135a7dc9-3943-45e4-884b-3cc6bce3db0a@q18g2000vbm.googlegroups.com> <81799aab-a2e8-4390-8f42-abceaa5fc032@m1g2000vbh.googlegroups.com> <5c0d7798-ba09-4bd0-a28f-f1b028cce927@y3g2000vbm.googlegroups.com> <87r5gl8tky.fsf@ludovic-brenta.org> <4C9B858C.9050208@obry.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Thu, 23 Sep 2010 20:28:08 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="SY0Arv91K92l1wpvhwAs2g"; logging-data="19769"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mdwTpPkbUtqXlL5R5+oLF" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:GflktKuZ2erQ0MDSw0Jup6lo8U8= sha1:riZj/tlNCKPgq1tm7IdZ1Y0h/EA= Xref: g2news1.google.com comp.lang.ada:14214 Date: 2010-09-23T22:28:09+02:00 List-Id: Pascal Obry writes on comp.lang.ada: > Ludovic, > >> And people not knowing Ada and thinking that the only OO language was >> C++. I totally agree with Jean-Pierre that Ada has made a very >> important contribution to OO technology in distinguishing class-wide >> from specific types; > > Well this was part of Smalltalk since the beginning. Not sure Ada has > invented anything there :) I do not remember anything in Smalltalk resembling class-wide types; could you please send me an URL? I'm curious. I do remember about class objects (objects representing classes, with methods such as "new" which create instances of the class). Java introspection similarly has class objects but not class-wide types. -- Ludovic Brenta.