Re: Generics vs. Message passing: object namespaces
[email protected] Fri, 23 Feb 2007 22:37:33 -0500 (EST)
| Newsgroups | gmane.comp.lang.lightweight |
|---|---|
| Message-ID | <[email protected]> |
> 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. Yes, there is: this discussion is about method dispatch, and semantically they are polar opposites. In generic dispatch the verb is primary, in object dispatch the noun is primary. These choices lead to nontrivially different object systems.