Re: Generics vs. Message passing: object namespaces
"Joe Marshall" <[email protected]> Fri, 23 Feb 2007 19:19:09 -0800
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
On 2/23/07, [email protected] <[email protected]> wrote: > But in object dispatch obj1.foo and obj2.foo are not > expected to do the same thing since the two foo's clearly are from two > different namespaces, if the objects are unrelated, and thus are > conceptually different words, whereas (foo obj1) and (foo obj2) are > necessarily from the same namespace, without additional > disambiguation, possibly non-local. I see very little different between "obj1.foo" and "(foo obj1)" The noun in each is clearly obj1 and the verb is foo. There is nothing magic about the dot or the parenthesis. -- ~jrm