From the course: Design Patterns: Creational

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Design principles and creational patterns

Design principles and creational patterns

From the course: Design Patterns: Creational

Start my 1-month free trial

Design principles and creational patterns

- [Instructor] In the first course in this series, Design Principles, you learned about many of the design principles we like to keep in mind as we design software systems. Remember that a design principle is a guideline that is there to help you avoid bad object-oriented design. A bad design is one that is too rigid and inflexible, or is hard to reuse. You'll see some of these design principles crop up again as we discuss the creational design patterns in this course. Principles are aimed at the low level of how we put objects together, while patterns are aimed at larger problems, and, as you'll see, many design patterns are inspired by design principles. For instance, the principle encapsulate what varies is one that inspires just about every design pattern, and certainly, many of the creational design patterns. If what varies is which concrete class to instantiate, this principle tells us, well, to keep our system…

Contents