The Open-Closed Principle — 读《Head first Design Patterns》

Another new OO design principle:

Design Principle

Classes should be open for extension, but closed for modification

e.g. Decorator Pattern

By javafuns on May 15, 2007 at 00:14 · Views: 817 · Permalink · RSS
Categorized in: Design Patterns, Java · Tagged with: ,
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply


  • Highest Rated

  • My PicasaPhotos

    IMG_0553.JPG

    IMG_0559.JPG

    IMG_0551.JPG

  • RSS My del.icio.us

  • My RSS