From: jweirich@... Date: 2001-08-19T03:09:49+09:00 Subject: [ruby-talk:19979] Re: How to do arbitrary super calls? >>>>> "Ned" == Ned Konz writes: Ned> In Smalltalk, "super" in a method represents the receiver Ned> object (the same object as self) with a different method Ned> lookup order (lookup skips the current class). This lets you Ned> call _any_ superclass method from a subclass, regardless of Ned> whether the subclass overrides the superclass method. [... example elided ...] Ned> This is a pattern that comes up from time to time. Really? If a subclass overrides a method in a parent, usually it is to provide additional semantics. It seems to me that bypassing these additional semantics is more likely to be an error (or at least inappropriate coupling). However, I'm willing to be persuaded. Do you have an example? -- -- Jim Weirich jweirich@one.net http://w3.one.net/~jweirich --------------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)