General information
Category:
The Mere Mortals .NET Framework
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only