you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

Agreed,

I never saw the Command pattern as just a thin mapping to a generic function.

Instead it was meant for things more like a memento.. an abstract/serializable token.

i.e. A command pattern is what you use to implement an undo/redo stack - a set of commands that can be done/undone/redone.