Reading notes of Head First: Intro to Design Patterns

Reading notes of Head First: Intro to Design Patterns

 Design Pattern:

The Strategy Pattern defines a family of algorithms,encapsulates each one,and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.

 Design Principles:

1. Identify the aspects of your application that vary and separate them from what stays the same.

2. Program to an interface, not an implementation.

3. Favor composition over inheritance.


  1. Knowing the OO basics does not make you a good OO designer.

  2. Good OO designs are reusable,extensible and maintainable.

  3. Patterns show you how to build systems with good OO design qualities.

  4. Patterns are proven object oriented experience.

  5. Patterns don’t give you code,they give you general solutions to design problems.You apply them to your specific application.

  6. Patterns aren’t invented,they are discovered.

  7. Most patterns and principles address issues of change in software.

  8. Most patterns allow some part of a system to vary independently of all other parts.

  9. We often try to take what varies in a system and encapsulate it.

  10. Patterns provide a shared language that can maximize the value of your communication with other developers.


Words translated by CCJK


Request a call or contact us


    Call for professional assistance


    Click Here to leave us a message and be as detailed as possible.

We are Certified

Our Client Satisfaction

rating for previous quarte

    Inquiry Form

    Please take few minutes to fill
    inquiry form and get Free Quote

    Request a Call

    Click to receive Free Call, Our
    Representative will contact you

    Leave a Message

    Please leave us a message and
    be as detailed as possible

Over 95% of our clients recommend our language services to others

Copyright © CCJK Technologies Co., Ltd. 2000-2017. All rights reserved.