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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public X-Google-Thread: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public From: Eric Clayberg Subject: Re: Static vs. Dynamic typing again (was Re: OO, C++, and something much better!) Date: 1997/01/28 Message-ID: <32EE2869.5E2@parcplace.com>#1/1 X-Deja-AN: 212770068 references: <32DF458F.4D5C@concentric.net> <32DF94DC.6FF8@watson.ibm.com> <32DFD972.37E4@concentric.net> <32E4FC5B.242C@watson.ibm.com> <32E6862D.608B@parcplace.com> <32E764D0.23D9@calfp.com> <32E7A686.56D@parcplace.com> <32E7BB32.6A9D@calfp.com> <32E85588.1978@parcplace.com> <5cjr3k$7ph@boursy.news.erols.com> content-type: text/plain; charset=us-ascii organization: ParcPlace-Digitalk, Inc. mime-version: 1.0 reply-to: clayberg@parcplace.com newsgroups: comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object x-mailer: Mozilla 3.0 (Win95; U) Date: 1997-01-28T00:00:00+00:00 List-Id: Damon Feldman wrote: > Yes, but the cross-referencing is by name only. So you get all implementors > of a method with that name, even if they are completely unrelated. So? In practice, all implementors of a method with the same name usually *are* related. It is rare indeed that you would have a method #foo that meant a dozen different things to a dozen different classes. > Since the receiver is not known statically there is no way to know who > *really* sends to the method Presumably, if *you* are writing the code, then *you* probably do have a good idea who is sending the message. If you don't, it is probably a good idea that you are presented with the set of all implementors (even if one or two might be spurious). Don't knock it 'til you try it. -Eric