in reply to Re: Subclassing a class that uses an internal dispatch table
in thread Subclassing a class that uses an internal dispatch table
That's an interesting take on the problem. Using a dispatch table is the archetypal "best practice" for implementing externally derived, command driven dispatching, so I guess the question then becomes:
How would you implement a dispatch table within a class so that the dispatched code can be overridden?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Subclassing a class that uses an internal dispatch table
by dragonchild (Archbishop) on Oct 30, 2007 at 19:45 UTC | |
by BrowserUk (Patriarch) on Oct 30, 2007 at 21:16 UTC | |
by dragonchild (Archbishop) on Oct 30, 2007 at 22:57 UTC | |
by BrowserUk (Patriarch) on Oct 30, 2007 at 23:28 UTC |