<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Composition on wid's blog</title><link>https://wid-blog.github.io/en/tags/composition/</link><description>Recent content in Composition on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 18 Feb 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/composition/index.xml" rel="self" type="application/rss+xml"/><item><title>Decorator</title><link>https://wid-blog.github.io/en/posts/tech/design-pattern/decorator/</link><pubDate>Sun, 18 Feb 2024 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/design-pattern/decorator/</guid><description>Decorator replaces the subclass explosion of inheritance with composition. It stacks wrappers that keep the same interface to add behavior at runtime. java.io, Python function decorators, and web middleware chains are all variations on the same intent.</description></item></channel></rss>