<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>设计模式 on 我的博客</title><link>https://chetapp.top/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/</link><description>Recent content in 设计模式 on 我的博客</description><generator>Hugo 0.125.0</generator><language>zh-cn</language><lastBuildDate>Sun, 08 Nov 2026 03:15:38 +0000</lastBuildDate><atom:link href="https://chetapp.top/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/index.xml" rel="self" type="application/rss+xml"/><item><title>DesignPattern：23 种设计模式，我把它做成了一张能点的知识网络</title><link>https://chetapp.top/post/designpattern-%E6%8A%8A23%E7%A7%8D%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F%E5%81%9A%E6%88%90%E4%BA%A4%E4%BA%92%E7%BD%91%E9%A1%B5/</link><pubDate>Mon, 02 Sep 2024 10:00:00 +0800</pubDate><guid>https://chetapp.top/post/designpattern-%E6%8A%8A23%E7%A7%8D%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F%E5%81%9A%E6%88%90%E4%BA%A4%E4%BA%92%E7%BD%91%E9%A1%B5/</guid><description>&lt;p>设计模式的书，几乎每个程序员都买过。&lt;/p>
&lt;p>买的时候雄心壮志，看了两章创建型，记住了单例和工厂，然后书就放到书架上吃灰了。原因不复杂：&lt;strong>教材里的例子太干净了。&lt;/strong>&lt;/p>
&lt;p>一个 &lt;code>Shape&lt;/code> 接口配几个 &lt;code>Circle&lt;/code>、&lt;code>Square&lt;/code>，代码不到二十行，完美诠释了开闭原则。可你回到项目里，面对的是一个两千行的 &lt;code>OrderService&lt;/code>，根本不知道从哪儿下手。&lt;/p></description></item></channel></rss>