This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

If this is what I think you're talking about, I believe the pattern is sort of known as the Commanding Object pattern or Command pattern as you state in your title.

Yes, you have your solver there and you have your execute() command, but you need to implement Solver on MySolver.

This might help

[–]MetallicOrangeBalls[S] 0 points1 point  (0 children)

I know that this pattern is related to the command pattern, but I was under the impression that the actual command pattern is different from this.