<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>吐槽 on To the Moon</title><link>https://pycv.github.io/blog/tags/%E5%90%90%E6%A7%BD/</link><description>Recent content in 吐槽 on To the Moon</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Thu, 12 Mar 2026 10:30:11 +0800</lastBuildDate><atom:link href="https://pycv.github.io/blog/tags/%E5%90%90%E6%A7%BD/index.xml" rel="self" type="application/rss+xml"/><item><title>用 AI 写 Chrome 插件，修一个 Bug 出两个 Bug</title><link>https://pycv.github.io/blog/posts/2026-03-12-ai-programming-frustration/</link><pubDate>Thu, 12 Mar 2026 02:35:00 +0800</pubDate><guid>https://pycv.github.io/blog/posts/2026-03-12-ai-programming-frustration/</guid><description>&lt;p&gt;用 AI 写代码这么久，发现一个问题：&lt;strong&gt;只有在写 Chrome 插件的时候，AI 特别容易&amp;quot;修一个 Bug 出两个 Bug&amp;quot;&lt;/strong&gt;。&lt;/p&gt;&#10;&lt;p&gt;写普通项目的时候还好好的，一到 Chrome 插件就开始反复横跳。你让它修个 Bug，它给你修好了，顺便给你整出俩新的。你以为在进步，其实在原地打转。&lt;/p&gt;&#10;&lt;h2 id="为什么-chrome-插件特别容易这样"&gt;为什么 Chrome 插件特别容易这样？&#10;&lt;/h2&gt;&lt;p&gt;我也想知道。所以我去问了 Gemini：&lt;a class="link" href="https://gemini.google.com/share/cf9f420c11ed" target="_blank" rel="noopener"&#10; &gt;完整对话记录&lt;/a&gt;&lt;/p&gt;&#10;&lt;p&gt;感觉可能和 Chrome 插件的架构有关——background、content script、popup 之间消息传来传去，AI 很难把握全局。它只看得到你说的那一个问题，改完就完事了。至于这个改动会不会把别的地方搞崩？它不在乎。&lt;/p&gt;&#10;&lt;p&gt;反正写 Chrome 插件用 AI，全程盯着验收就完事了。&lt;/p&gt;&#10;</description></item></channel></rss>