Multiple hierarchies and method overloading

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Tue Apr 25 05:00:53 EDT 2006


In article <1145931851.526941.231680 at v46g2000cwv.googlegroups.com>,
 "Ben Cartwright" <bencvt at gmail.com> wrote:

>Philippe Martin wrote:
>
>> I renamed A_Func(self) to fix that ... but is there a cleaner way around ?
>
>When using multiple inheritence, the order of the base classes matters!

When you have to start worrying about complications like this, isn't 
that a sign that you're taking the whole OO thing a little too seriously?

After all, technology is supposed to _solve_ problems, not create them. 
If the complications of OO are making you lose sight of your original 
problem, then maybe you should put them aside.



More information about the Python-list mailing list