<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>函数设计 - Tag - 编程心语</title>
        <link>https://www.ithome.me/tags/%E5%87%BD%E6%95%B0%E8%AE%BE%E8%AE%A1/</link>
        <description>函数设计 - Tag - 编程心语</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-CN</language><lastBuildDate>Thu, 16 Jul 2026 00:00:00 &#43;0000</lastBuildDate><atom:link href="https://www.ithome.me/tags/%E5%87%BD%E6%95%B0%E8%AE%BE%E8%AE%A1/" rel="self" type="application/rss+xml" /><item>
    <title>布尔参数的罪恶：为什么你的函数签名里不该出现 true</title>
    <link>https://www.ithome.me/post/2026/07/16/boolean-parameter-smell/</link>
    <pubDate>Thu, 16 Jul 2026 00:00:00 &#43;0000</pubDate>
    <author>Simon</author>
    <guid>https://www.ithome.me/post/2026/07/16/boolean-parameter-smell/</guid>
    <description><![CDATA[一个 true 引发的血案 你一定见过这样的代码： 1 processOrder(order, true) 第一次看到这行代码时，你的脑子里会冒出一个问号：那个 true 是什么意思？ 是跳过校验？是异步执行？还是发]]></description>
</item>
</channel>
</rss>
