<?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>Strategy on wid's blog</title><link>https://wid-blog.github.io/en/tags/strategy/</link><description>Recent content in Strategy on wid's blog</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 03 Mar 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://wid-blog.github.io/en/tags/strategy/index.xml" rel="self" type="application/rss+xml"/><item><title>Strategy</title><link>https://wid-blog.github.io/en/posts/tech/design-pattern/strategy/</link><pubDate>Sun, 03 Mar 2024 00:00:00 +0000</pubDate><guid>https://wid-blog.github.io/en/posts/tech/design-pattern/strategy/</guid><description>Strategy encapsulates a family of algorithms behind a single interface and swaps them at runtime. It extends by adding a strategy instead of editing an if/switch. In languages with first-class functions, a separate Strategy class collapses into a single function.</description></item></channel></rss>