patterns-discussion AT lists.siebelschool.illinois.edu
Subject: General talk about software patterns
List archive
- From: "Sriram Gopalan" <Sriram.Gopalan AT agile.com>
- To: "souravm" <SOURAVM AT infosys.com>, <patterns-discussion AT cs.uiuc.edu>
- Cc:
- Subject: RE: [patterns-discussion] Doubts regarding Strategy Pattern
- Date: Thu, 23 Sep 2004 10:06:51 -0700
- List-archive: <http://mail.cs.uiuc.edu/pipermail/patterns-discussion>
- List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>
Hi
Sourav,
It is hard for me to imagine that the client would be
totally insulated from the actual strategy if the inputs depend on the actual
strategy being used! The key is to figure out if the various concrete strategies
can be abstracted out as an AbstractStrategy or not.
If yes, you shouldn't need to change the inputs since the
contract that the client abides by is defined by the
AbstractStrategy.
If not, it might not be a proper use of the strategy
pattern.
regards,
Sriram
Gopalan
|
- [patterns-discussion] Doubts regarding Strategy Pattern, souravm, 09/23/2004
- Re: [patterns-discussion] Doubts regarding Strategy Pattern, Ralph Johnson, 09/24/2004
- [patterns-discussion] deleting a Singleton, E. Segura, 09/24/2004
- Re: [patterns-discussion] deleting a Singleton, Eric Y. Theriault, 09/24/2004
- <Possible follow-up(s)>
- RE: [patterns-discussion] Doubts regarding Strategy Pattern, sayan.mukherjee, 09/23/2004
- RE: [patterns-discussion] Doubts regarding Strategy Pattern, Sriram Gopalan, 09/23/2004
Archive powered by MHonArc 2.6.16.