Chapter 11
- Design patterns are good solutions to common problems in software development.
- While design patterns give you code implementation for typical problems we face in development, design principles help you select the best options when it comes to implementing the software architecture.
- The Builder Pattern will help you generate sophisticated objects without the need to define them in the class you are going to use them in.
- The Factory Pattern is really useful in situations where you have multiple kinds of object from the same abstraction, and you don't know which of them needs to be created by the time you start coding.
- The Singleton Pattern is useful when you need a class that has only one instance during the software's execution.
- The Proxy Pattern is used when you need to provide an object that controls access to another object.
- The Command Pattern is used when you need to execute a command that will affect the behavior...