Chapter 1
What are the benefits of using design patterns?
Design patterns help the programmer apply already-proven approaches to common problems. There will be less time wasted in searching for the proper solution or fixing a design issue after a sub-optimal implementation. Anti-patterns provide additional guidance for avoiding common design flaws.
What are some of the key design principles?
The key design principles include SOLID, DRY, KISS, POLA, YAGNI, and POLP. These principles are widely recognized as good guidance for object-oriented programming, but they can be applied equally well in other programming paradigms.
What problem does the open/closed principle solve?
The open/closed principle encourages the programmer to design a system ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access