Talk:Command

From CSSEMediaWiki
Revision as of 03:52, 4 October 2008 by Elliot Fisher (Talk | contribs)
Jump to: navigation, search

I am wondering if this pattern includes also a Strategy pattern for the modeling of the Command objects, since each command object pretty much is just a different implementation of the execute()-method?--Dom 03:41, 4 October 2008 (UTC)

Hey Dom, I was just reading the usage part where it says: "Sometimes you need to issue a request to an object without even knowing anything about the requested operation or the receiving object itself." I think this is how it differs from the Strategy pattern, because the strategy context/client knows what each method should do. --Elliot Fisher 03:52, 4 October 2008 (UTC)

Personal tools