<?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/%E5%B7%A5%E5%85%B7%E7%B1%BB%E5%BA%93/</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/%E5%B7%A5%E5%85%B7%E7%B1%BB%E5%BA%93/index.xml" rel="self" type="application/rss+xml"/><item><title>Chet.Utils：500 多个方法，专治 .NET 项目里那些重复的搬砖代码</title><link>https://chetapp.top/post/chet.utils-500%E4%B8%AA%E6%96%B9%E6%B3%95%E6%8A%8A%E6%90%AC%E7%A0%96%E6%B4%BB%E5%B9%B2%E6%8E%89/</link><pubDate>Sat, 11 Oct 2025 10:00:00 +0800</pubDate><guid>https://chetapp.top/post/chet.utils-500%E4%B8%AA%E6%96%B9%E6%B3%95%E6%8A%8A%E6%90%AC%E7%A0%96%E6%B4%BB%E5%B9%B2%E6%8E%89/</guid><description>&lt;p>每个 .NET 项目里，都藏着几个叫 &lt;code>StringHelper&lt;/code>、&lt;code>DateUtil&lt;/code>、&lt;code>CommonUtils&lt;/code> 的文件。&lt;/p>
&lt;p>打开一看，是历代同事留下的祖传代码：有的方法全世界只有原作者知道怎么用，有的连原作者都忘了，还有的在生产环境埋了个坑——比如那个永远返回 &lt;code>true&lt;/code> 的手机号校验。&lt;/p>
&lt;p>项目一多，这些工具类就跟着复制粘贴。改一个 bug，得改八个项目。&lt;/p></description></item></channel></rss>