DEV Community

loading...

Discussion on: Design Patterns: Decorator Pattern

Collapse
henriguy profile image
Henri Idrovo Author

Hi Juli. Good question. The terms 'public' and 'abstract' in the Taco interface are redundant. They were left over from the textbook example that used an abstract class. Thanks for pointing that out! Hope you find my posts useful :-)