---
title: "Discussion on \"Decorator Pattern\" | Hashnode"
description: "Discussion on \"Decorator Pattern\". Task - Design beverage shop with multiple toppings on it.\nInitially the shop was not offering the toppings only a specific beverage.So design would look like this.\n\nSo you they have expanded and started offering the toppings as well, in similar way w..."
url: "https://hashnode.com/posts/decorator-pattern/64f44fc43bb0132436cfcf51"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Decorator Pattern](https://struglingblogs.hashnode.dev/decorator-pattern?utm_source=hashnode&utm_medium=feed)

Task - Design beverage shop with multiple toppings on it. Initially the shop was not offering the toppings only a specific beverage.So design would look like this. So you they have expanded and started offering the toppings as well, in similar way w...

Sep 3, 2023 · 2 min read · struglingblogs.hashnode.dev  
Read the article

-   [#notes](https://hashnode.com/tag/notes)

## Written by

[Shreyash Chavhan](https://hashnode.com/@Shreyash1999)

@Shreyash1999

  
[View profile](https://hashnode.com/@Shreyash1999)

Tech Software Engineer at UBS

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
