Skip to Content.
Sympa Menu

gang-of-4-patterns - 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 : [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 : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern
  • Date: Thu, 6 Nov 2003 17:26:45 +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>

Hi Ray and Chris,

I wonder if Chris' question is not : can Bridge be seen as a refinement
of Strategy in which you add subclasses to Strategy's Context ?
In Ray's modem example the interfaces would be :
ModemType (Context) and ModemManufacturer (Strategy).

What do you think ?






Archive powered by MHonArc 2.6.16.

Top of Page