Skip to content

Command vs Strategy

The implementation of the Command Pattern can be very similar to that of the Strategy Pattern, but the purpose is not the same:

  • A command represents what is done.
  • A strategy represents how something is done.