Skip to Content.
Sympa Menu

gang-of-4-patterns - RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern

gang-of-4-patterns AT lists.siebelschool.illinois.edu

Subject: Design Patterns discussion

List archive

RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern


Chronological Thread 
  • From: "Mikal Ziane" <Mikal.Ziane AT lip6.fr>
  • To: <gang-of-4-patterns AT cs.uiuc.edu>
  • Subject: RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern
  • Date: Thu, 6 Nov 2003 20:53:53 +0100
  • Importance: Normal
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>



Ray,

You would not use Bridge to dynamically select or change the data
representation of an abstraction A even if A itself does not change ?
Ok if the data changes the algorithm probably have to change to but maybe
this is not the focus so that calling this Strategy might be awkward, right
?
Also, what about Coplien's String/StringRep example of his
Letter/envelope idiom ? Does the abstraction, namely String, change ?






Archive powered by MHonArc 2.6.16.

Top of Page