Variable inheritance

kosh kosh at aesaeion.com
Tue May 22 03:16:03 EDT 2001


Roman Suzi wrote:

> On 22 May 2001, Paul Foley wrote:
> 
>> On Tue, 22 May 2001 07:45:41 +0400 (MSD), Roman Suzi wrote:
>> 
>> > Multiple inheritance says it bad design.
>> 
>> It *is* a bad design, but multiple inheritance certainly isn't a sign
>> of a bad design.  You seem to be saying MI is inherently bad.
>> [MI without multiple dispatch is broken, though...]
> 
> MI is in most cases bad. Why not aggregation instead?
> 
> Sincerely yours, Roman A.Suzi

Specifically why do you think MI in most cases is bad in python. From 
looking at other languages due to design decisions with the langauge I can 
see how it would be bad in most cases in C++ or Java. However the same 
issues I see causing a problem in those langauges seem not to exist in 
python. 



More information about the Python-list mailing list