DesignPatterns.txt

Card Set Information

Author:
iranye
ID:
222612
Filename:
DesignPatterns.txt
Updated:
2013-06-05 19:41:35
Tags:
Design Patterns Singleton
Folders:

Description:
Covers Items Discussed in Head First Design Patterns
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user iranye on FreezingBlue Flashcards. What would you like to do?


  1. [HFDP pg 9]
    Design principle: Separate aspects that ______ from what _________
    vary,stays the same
  2. [HFDP pg 11]
    Design principle: Program to an ___________, not an implementation
    interface
  3. [HFDP pg 23]
    What's usually better in OO design? Inheritance or Composition?
    Composition
  4. [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.
  5. [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
  6. [HFDP pg 86]
    Fill in the blanks: Classes should be _____ for extension, but _______ for modification.
    • Open
    • Closed
  7. [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.


  8. ---ANSWER---


  9. ---ANSWER---

What would you like to do?

Home > Flashcards > Print Preview