Skip to Content.
Sympa Menu

gang-of-4-patterns - Re: 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 : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern


Chronological Thread 
  • From: Wayne Cannon <wcannon AT sonic.net>
  • To: Mikal Ziane <Mikal.Ziane AT lip6.fr>
  • Cc: gang-of-4-patterns AT cs.uiuc.edu
  • Subject: Re: RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern
  • Date: Thu, 06 Nov 2003 17:44:08 -0800
  • List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns/>
  • List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>

Mikal,

One of the specific uses called out for the Bridge pattern is for dynamically selected implementations. Refer to the Bridge pattern, "Applicability" section, "Use the Bridge pattern when (1) you want to avoid a permanent binding between an abstraction and its implementation. This might be the case, for example, when the implementation must be selected or switched at run-time".

--Wayne

Mikal Ziane wrote:

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 ?







Archive powered by MHonArc 2.6.16.

Top of Page