<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>vibe coding &#8211; mylogs.cn</title>
	<atom:link href="https://mylogs.cn/tag/vibe-coding/feed/" rel="self" type="application/rss+xml" />
	<link>https://mylogs.cn</link>
	<description>发现、记录、分享</description>
	<lastBuildDate>Sun, 16 Aug 2026 19:13:37 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>AI写代码别只靠vibe：资深程序员的10条戒律</title>
		<link>https://mylogs.cn/ai%e5%86%99%e4%bb%a3%e7%a0%81%e5%88%ab%e5%8f%aa%e9%9d%a0vibe%ef%bc%9a%e8%b5%84%e6%b7%b1%e7%a8%8b%e5%ba%8f%e5%91%98%e7%9a%8410%e6%9d%a1%e6%88%92%e5%be%8b/</link>
		
		<dc:creator><![CDATA[steve, zhang]]></dc:creator>
		<pubDate>Sun, 16 Aug 2026 19:13:22 +0000</pubDate>
				<category><![CDATA[科技]]></category>
		<category><![CDATA[AI工具]]></category>
		<category><![CDATA[AI编程]]></category>
		<category><![CDATA[Claude]]></category>
		<category><![CDATA[vibe coding]]></category>
		<category><![CDATA[代码审查]]></category>
		<category><![CDATA[程序员]]></category>
		<category><![CDATA[软件开发]]></category>
		<guid isPermaLink="false">https://mylogs.cn/ai%e5%86%99%e4%bb%a3%e7%a0%81%e5%88%ab%e5%8f%aa%e9%9d%a0vibe%ef%bc%9a%e8%b5%84%e6%b7%b1%e7%a8%8b%e5%ba%8f%e5%91%98%e7%9a%8410%e6%9d%a1%e6%88%92%e5%be%8b/</guid>

					<description><![CDATA[两种极端都不可取 AI 时代，学生和研究者该如何使用 AI 写程序？一种极端是假装 AI 不存在，坚持纯手写— [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">两种极端都不可取</h2>



<p class="wp-block-paragraph">AI 时代，学生和研究者该如何使用 AI 写程序？一种极端是假装 AI 不存在，坚持纯手写——这不利于为遍布 AI 的世界做准备。另一种极端是把活儿全交给 AI（即所谓 vibe coding）：只盯着测试是否通过，不再细读每一行代码。后者会带来「自我欺骗」——以为自己掌握了，其实没学到任何有价值的技能。作者打了个比方：认知技能像肌肉，练起来难，丢起来快。</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6a8213ca06e73&quot;}" data-wp-interactive="core/image" data-wp-key="6a8213ca06e73" class="wp-block-image size-large aligncenter wp-lightbox-container"><img fetchpriority="high" decoding="async" width="680" height="649" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://mylogs.cn/wp-content/uploads/2026/08/6982f8ea302b6a29eb9b7ed98d70e7e7_header.webp" alt="AI写代码别只靠vibe：资深程序员的10条戒律" class="wp-image-5132" style="max-width:100%;height:auto;" srcset="https://mylogs.cn/wp-content/uploads/2026/08/6982f8ea302b6a29eb9b7ed98d70e7e7_header.webp 680w, https://mylogs.cn/wp-content/uploads/2026/08/6982f8ea302b6a29eb9b7ed98d70e7e7_header-300x286.webp 300w" sizes="(max-width: 680px) 100vw, 680px" /><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">图片来源：Peter Bloem</figcaption></figure>





<h2 class="wp-block-heading">中间路线：手写，AI 审查</h2>



<p class="wp-block-paragraph">折中方案被称为「匠心编程」（craft coding）。它的价值取向是围绕产品本身的质量，细到每个细节；开发者承诺理解代码库的每一处，AI 可以用，但只在有助于这一理想时才用。最凝练的实践口号是「手写，AI 审查」：以当下模型的能力，不要让 AI 去做任何事，只让它审查你写好的东西，你认同才采纳。最好的比喻，是把 AI 当成一位资深程序员的代码评审。</p>



<h2 class="wp-block-heading">匠心编程的十条戒律</h2>



<ol class="wp-block-list">
<li>不在 IDE 里用 AI，包括 LLM 自动补全；每一行字符都亲手敲。</li>


<li>最好不把代码库交给 AI；需要时在网页界面里粘贴片段，若必须授权，也只用只读权限。</li>


<li>不让 AI 运行任何东西；它给建议，你来执行。</li>


<li>不把 AI 对话框里的代码直接复制粘贴，要自己敲一遍。</li>


<li>能用普通搜索解决的事，不麻烦 AI。</li>


<li>问 AI 之前，先读文档。</li>


<li>只有自己实在解不出时才向 AI 求方案，并先给自己思考的时间。</li>


<li>请 AI 审查前，自己先检查一遍。</li>


<li>先运行代码排查问题，再让 AI 审查补漏。</li>


<li>没看懂的建议，绝不采纳。</li>

</ol>



<h2 class="wp-block-heading">为什么值得这么做</h2>



<p class="wp-block-paragraph">作者以科研代码为例：论文里的实验代码一旦出错，整篇结论都可能失效，因此科学是匠心编程的典型场景。安全关键软件同样如此——在 AI 时代，纯手写的代码反而不够安全，开发者必须把 AI 审查纳入流程，否则攻防会变得极不对称。</p>



<p class="wp-block-paragraph">当然，适度使用也无可厚非。作者坦言自己偷懒时也会写潦草代码、让 Claude 直接调试，但他提醒这有「技能退化」的风险。GitHub Copilot 近期从包月改为按量计费，一些重度 vibe coding 用户月费从 30 美元涨到 750 美元，也算一种侧面注脚。</p>



<p class="wp-block-paragraph">结论很朴素：手写与 AI 审查之间，藏着一片明智的中间地带。只要保持思考、不把大脑闲置，答案就在那里。</p>



<p class="wp-block-paragraph">来源：Peter Bloem（peterbloem.nl）</p>

]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
