Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance Scheme
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00804828
Message ID:
00805381
Vues:
31
Hi Kevin,

>I'm not really crazy about I-layers...I'd rather solve the problem through composition rather than inheritance.

FWIW, I totally agree with you. While the i-layers were initially useful in Codebook to separate our changes from the framework updates, as the framework evolved and our enhancements (or deviations) evolved, it ended up being a maintenance nightmare. You really can't avoid running up against what Stephen describes. The i-layer actually complicates it rather than solving it. Some of the original enhancers were crazy enamoured of inheritence as a solution. whether we took advantage of it or not, the i-layer ended up being just a whole lot of extra baggage. As I rewrite all this stuff, I am always looking for ways to use composition rather than inheritance. I find it makes maintenance easier in the long run.

pamela
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform