in reply to Re: a question on namespaces and inheritance
in thread a question on namespaces and inheritance
Just because you can it doesn't mean it is a good idea to do so... actually, I found it rather a bad idea to call a method on an object that's not related via an is-a relation to the method package.
The obvious solution for the OP problem is to move the common methods to the base class or to use a mixin class.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: a question on namespaces and inheritance
by japhy (Canon) on Jun 03, 2005 at 13:38 UTC |