Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Overview of the Decorator Design Pattern

Loading...

Sign in or sign up now!
4,386
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 22, 2008

Overview of the Decorator Design Pattern

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 3 dislikes

Link to this comment:

Share to:
see all

All Comments (3)

Sign In or Sign Up now to post a comment!
  • What you are calling the 'wrapper' class is the .CONTEXT of the class being called. I will watch the next part before saying anything further.

    This is one of my favorite patterns. Perhaps in the video series you could include the purpose as described in the GOF book "Design Patterns - Elements of Reusable Object oriented software". "Attach additional responsibilities to an object dynamically".

  • but to an outside developer - who doesn't know about Disk and Monitor - would keep using the (stale) Computer class - isnt that a big drawback?

  • excellent

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more