Nick Gall's Weblog
[NOTE: I have moved. My new blog is ironick.typepad.com.]
        

Nick Gall's Weblog

Wednesday, March 03, 2004

Find what varies and encapsulate it.
It seems to me that the Dependency Inversion Principle, the Bridge Pattern, and the Spanning Layer concept are all saying the same thing: enable independent change of a concrete consumer (using) system and a concrete provider (implementing) system by making them both depend on a two-sided abstraction layer. And all of these seem to be examples of "Find what varies and encapsulate it."
1:44:42 PM      



© Copyright 2006 Nicholas Gall. Click here to send an email to the editor of this weblog.
Last update: 9/21/2006; 6:15:48 AM.