October 2017
Intermediate to advanced
210 pages
5h 32m
English
The command pattern tells us that we should encapsulate the logic for the various actions into a separate type that conforms to a command protocol. We can then provide instances of the command types for use by the invoker. The invoker will use the interface provided by the protocol to invoke the needed actions.
Read now
Unlock full access