Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance Scheme
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00804828
Message ID:
00805381
Views:
35
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform