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!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: Preventing type extensions Date: Fri, 24 Sep 2010 12:21:29 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <87iq2bfenl.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> <877hic8asm.fsf@ludovic-brenta.org> <7f718cec-a2c5-42de-932d-4998b84df29e@q9g2000vbd.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1285345265 12129 192.74.137.71 (24 Sep 2010 16:21:05 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Fri, 24 Sep 2010 16:21:05 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:ndAgDmhrBDxcsjzBQFYXoFZWcTk= Xref: g2news1.google.com comp.lang.ada:14238 Date: 2010-09-24T12:21:29-04:00 List-Id: Ludovic Brenta writes: > In fact, after reading up a little bit on Smalltalk, it seems that > every message sent to an object (i.e. primitive operation call) > dispatches dynamically; the programmer does not seem to have a way to > prevent that. Yeah, except for the case of "super". > This "yo-yo problem" also exists in Objective-C. Objective C is essentially just Smalltalk semantics bolted onto C. It's like two languages in one. - Bob