Home > Preview
The flashcards below were created by user
on FreezingBlue Flashcards.
[HFDP pg 9]
Design principle: Separate aspects that ______ from what _________
vary,stays the same
[HFDP pg 11]
Design principle: Program to an ___________, not an implementation
[HFDP pg 23]
What's usually better in OO design? Inheritance or Composition?
[HFDP pg 24]
What is the Stategy Pattern?
A family of algorithms that when encapsulated and made interchangeable, allow the algorithms to vary independently from clients that use it.
[HFDP pg 51]
What is the Observer Pattern
Defines a one-to-many dependency between object so that when one object changes state, all of its dependents are notified and updated automatically
[HFDP pg 86]
Fill in the blanks: Classes should be _____ for extension, but _______ for modification.
[HFDP pg 91]
What does the Decorator Pattern do?
Attaches additional responsibilities to an object dynamically, providing a flexible alternative to subclassing for extending functionality.
What would you like to do?
Home > Flashcards > Print Preview