This is a discussion on Re: About the bridge pattern within the Software Patterns forums, part of the Testing category; Sure you can. Here is an example for c#: http://www.dofactory.com/Patterns/Patterns.aspx -- William Stacey "Malte ...
|
|||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Re: About the bridge pattern
Sure you can. Here is an example for c#:
http://www.dofactory.com/Patterns/Patterns.aspx -- William Stacey "Malte Persike" <Malte@t-online.de> wrote in message news:8u6lkvstt24oonfve2b34nmcq5j0mf223s@4ax.com... > Hello y'all. > > There were some postings on the Bridge pattern recently which clearly > showed that this pattern probably is the least well described in the > GoF book. > > There is one crucial thing that sets Bridge apart from all other > patterns laid out by the GoF: it cannot be spotted in code! > > Suppose you want to email a friend some example code to enlighten him > with your knowledge about a special pattern. Be it Adapter, Singleton, > Factory or nearly any other pattern, you can send him a class and say > "Here you have it, this is an Adapter (or whatever)." > > This does not hold for the bridge pattern. The bridge pattern aids you > in coding, but it does not directly show up in your code, Bridge > describes the relationship of classes, not a class itself. > > Bruce Eckel (http://mindview.net/Books) has a good - and free - > seminar paper called "Thinking in Patterns" that gives a good idea on > what Bridge is and what it is not. Also, Shalloway & Trott present a > fine introduction to the Bridge pattern in their book "Design Patterns > Explained". > > Kind regards, > Malte |
![]() |
| Thread Tools | |
|
|