<?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>抽象 on Answer</title>
    <link>https://answer.freetools.me/tags/%E6%8A%BD%E8%B1%A1/</link>
    <description>Recent content in 抽象 on Answer</description>
    <generator>Hugo -- 0.152.2</generator>
    <language>zh-cn</language>
    <lastBuildDate>Sat, 07 Mar 2026 15:31:17 +0800</lastBuildDate>
    <atom:link href="https://answer.freetools.me/tags/%E6%8A%BD%E8%B1%A1/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>代码复用为何总是走向反面：从DRY原则到抽象泄漏的四十年工程困境</title>
      <link>https://answer.freetools.me/%E4%BB%A3%E7%A0%81%E5%A4%8D%E7%94%A8%E4%B8%BA%E4%BD%95%E6%80%BB%E6%98%AF%E8%B5%B0%E5%90%91%E5%8F%8D%E9%9D%A2%E4%BB%8Edry%E5%8E%9F%E5%88%99%E5%88%B0%E6%8A%BD%E8%B1%A1%E6%B3%84%E6%BC%8F%E7%9A%84%E5%9B%9B%E5%8D%81%E5%B9%B4%E5%B7%A5%E7%A8%8B%E5%9B%B0%E5%A2%83/</link>
      <pubDate>Sat, 07 Mar 2026 15:31:17 +0800</pubDate>
      <guid>https://answer.freetools.me/%E4%BB%A3%E7%A0%81%E5%A4%8D%E7%94%A8%E4%B8%BA%E4%BD%95%E6%80%BB%E6%98%AF%E8%B5%B0%E5%90%91%E5%8F%8D%E9%9D%A2%E4%BB%8Edry%E5%8E%9F%E5%88%99%E5%88%B0%E6%8A%BD%E8%B1%A1%E6%B3%84%E6%BC%8F%E7%9A%84%E5%9B%9B%E5%8D%81%E5%B9%B4%E5%B7%A5%E7%A8%8B%E5%9B%B0%E5%A2%83/</guid>
      <description>深入解析代码复用的隐性成本：从1999年DRY原则的原始定义被误读开始，揭示知识重复与代码重复的本质区别；剖析Dan Abramov在React团队的抽象失败案例、Sandi Metz的&amp;#34;错误抽象&amp;#34;理论、Joel Spolsky的抽象泄漏定律；基于代码克隆实证研究（7%-23%重复率、仅1%-3%不一致修改引入缺陷），探讨Rule of Three、AHA原则等实践指南，提供何时复制、何时抽象的权衡框架。</description>
    </item>
  </channel>
</rss>
