gang-of-4-patterns AT lists.siebelschool.illinois.edu
Subject: Design Patterns discussion
List archive
- 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 ?
- RE: RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Ray Ye, 11/06/2003
- RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Mikal Ziane, 11/06/2003
- Re: RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Wayne Cannon, 11/06/2003
- Re: RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Mikal Ziane, 11/07/2003
- Re: RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Wayne Cannon, 11/06/2003
- Re: RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Wayne Cannon, 11/06/2003
- RE : RE : [gang-of-4-patterns] Strategy Pattern vs. Bridge Pattern, Mikal Ziane, 11/06/2003
Archive powered by MHonArc 2.6.16.