gang-of-4-patterns AT lists.siebelschool.illinois.edu
Subject: Design Patterns discussion
List archive
- From: "Freeman-Hargis, James" <jfreeman AT midwaygames.com>
- To: <gang-of-4-patterns AT cs.uiuc.edu>
- Subject: [gang-of-4-patterns] Pattern question: state vs. strategy
- Date: Wed, 6 Jul 2005 11:17:10 -0500
- List-archive: <http://mail.cs.uiuc.edu/pipermail/gang-of-4-patterns>
- List-id: Design Patterns discussion <gang-of-4-patterns.cs.uiuc.edu>
I’m wondering if you can give me some additional details as to how these are different? Their applicability, purpose and structure seem nearly identical: make the behavior of the context class change dynamically as the state/strategy changes. Both patterns even mentions how they can be tied into the flyweight pattern. The only difference I can readily see is that the state pattern mentions transitions while the strategy does not. Am I missing something?
Thank you for your time, -James
|
- [gang-of-4-patterns] Pattern question: state vs. strategy, Freeman-Hargis, James, 07/06/2005
- Re: [gang-of-4-patterns] Pattern question: state vs. strategy, Robert Allan Schwartz, 07/06/2005
- Re: [gang-of-4-patterns] Pattern question: state vs. strategy, Clint Shank, 07/06/2005
- RE: [gang-of-4-patterns] Pattern question: state vs. strategy, Jesús Alonso, 07/06/2005
- Re: [gang-of-4-patterns] Pattern question: state vs. strategy, Peter Horan, 07/07/2005
- <Possible follow-up(s)>
- RE: [gang-of-4-patterns] Pattern question: state vs. strategy, jdeena, 07/06/2005
- RE: [gang-of-4-patterns] Pattern question: state vs. strategy, Jesús Alonso, 07/06/2005
- RE: [gang-of-4-patterns] Pattern question: state vs. strategy, Ralph Johnson, 07/06/2005
- Re: [gang-of-4-patterns] Pattern question: state vs. strategy, Robert Allan Schwartz, 07/06/2005
Archive powered by MHonArc 2.6.16.