Decorator Patten & Added Functionality

R

Randy

I am learning from the gof. It describes the Decorators as having
"added functionality".

Is it an acceptable practice to use new methods, specific to the
Decorator, or is "added functionality" limited to extending the
methods that are contained in the Component class?

Randy
 
R

Randy

I am learning from the gof. It describes the Decorators as having
"added functionality".

Is it an acceptable practice to use new methods, specific to the
Decorator, or is "added functionality" limited to extending the
methods that are contained in the Component class?

Randy


Sorry. I meant to put this in the Design Patterns ng.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,279
Messages
2,571,387
Members
48,090
Latest member
marky2025

Latest Threads

Top