Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Use Interfaces
Message
 
À
07/01/2008 22:34:07
Information générale
Forum:
ASP.NET
Catégorie:
Conception classe
Divers
Thread ID:
01278205
Message ID:
01280252
Vues:
26
>>I only wanted to say that MI is debatable, to say the least, so saying "there is nothing wrong" with it is too strong.
>
>And all I meant by that was "there is nothing wrong" with using Interfaces to *simulate* multiple inheritance. Basically, to get the good stuff without having the bad stuff.
>
>~~Bonnie

What part of MI bad stuff is avoided by simulation? Simulated or not, MI can lead to spaghetti - you have the top-down class hierarchy, then possibly a top-down interfaces hierarchy, then the MI going the other way.
Why was true MI left out of the C# compiler?
Doru
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform