Understanding the Command Design Pattern
The Command Design Pattern is a behavioural design pattern that turns a request into a stand-alone object containing all the information about the request. This pattern allows you to parameterize objects with operations, delay the execution of an operation, or queue a request for execution. Simple Example: Imagine you have a remote control that can turn on and off a light. The Command Pattern can be used to encapsulate these operations into objects....