# Episode 8 - Decorator Pattern

> Episode of [Programming](https://podistic.com/podcast/programming.md) · Published February 18, 2020 · Duration 13:13

- **Listen on Podistic:** https://podistic.com/episode/episode-8-decorator-pattern
- **Audio:** https://anchor.fm/s/ff47d524/podcast/play/96292371/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2024-11-26%2F392135409-44100-2-5d2dc62a29705f0e.mp3 (audio/mpeg)

## About this episode

Today you'll learn how at runtime, you can enhance the behavior or existing objects using the decorator pattern.

In this episode, we'll discuss the advantages of decorators over inheritance and look at two examples from real-life - implementing a network communication protocol and enriching user interface components.
