The Decorator Pattern

1. Definition The decorator pattern allows you to attach additional responsibilities to an existing object dynamically. 2. Case study 2.1 The Problem You’re the owner of a pizza store. Because nowadays everyone uses the internet to order pizzas, you decided to have a web application for taking orders from┬ácustomers. In your app, each pizza was …