寫《Clean Code》的人說他不看程式碼了,你還要看嗎?|Uncle Bob|演講訪談系列
Jim AI Notebook
0:00 / 0:00
寫《Clean Code》的人說他不看程式碼了,你還要看嗎?|Uncle Bob|演講訪談系列
11 281 просмотр · 1 день назад
Jim AI Notebook
30,5 тыс. подписчиков
11 281 просмотр · 1 день назад
00:00 開場:AI 寫的程式碼,人還需要一行一行看嗎?
00:55 Uncle Bob(《Clean Code》作者):兩段訪談,和主持人的生意
01:51 Uncle Bob:從「AI 泡沫快破了」到一行都不讀
02:48 Uncle Bob:終端機加架構圖,不讀程式碼
03:36 約束一:單元測試=複式簿記
04:32 約束二:CRAP 指標(分岔的路 × 測試覆蓋)
06:29 約束三:變異測試與「存活的突變體」
08:28 Uncle Bob(八月):五站的多代理人流水線
09:25 Uncle Bob(九月):推翻流水線,一個代理人當資深工程師
11:49 Uncle Bob:爛程式碼也會困住代理人,叮嚀不如機器檢查
14:13 利益揭露+Uncle Bob:責任只能在人身上
16:02 反方:Linus Torvalds、Simon Willison 與調查數據
17:27 Uncle Bob:新人先被當成代理人+結論
⚠️ 本片是講者觀點整理加上查證,不是工程或投資建議。
【利益揭露】主訪談是 Aviator 公司自己的節目〈The Hangar DX Podcast〉,主持人 Ankit Jain 是 Aviator 創辦人;Aviator 販售「用驗證取代程式碼審查」(官網標語 Replace code reviews with verified intent)的工具,這個話題跟它的生意直接相關。Uncle Bob 本人也在販售 AI 代理人開發課程與書籍。
【查證與更正】
• 主持人說他「兩年前」公開說 AI 不是寫程式的未來:我們找到最早、最明確的一手發言是 2025 年 9 月的 X 貼文(「AI 不會取代程式設計師」「AI 泡沫快破了」),大約一年前。
• CRAP 全名 Change Risk Anti-Patterns,2007 年 Alberto Savoia 與 Bob Evans 提出;它算的是圈複雜度(分岔的路有幾條)配上測試覆蓋率,不是縮排層數。片中算例(複雜度 10:沒測試 110、測一半 22.5、全測到 10)照公式計算;原作者以超過 30 為警戒。
• 主持人說 Steve Yegge 的 Gas Town「要收掉」:Yegge 自己寫它「實際上已經燒毀」,但沒有正式宣布關閉;他的結論跟 Uncle Bob 相反(改做約 50–60 個代理人的 Wheelhouse),所以「流水線過時」是 Uncle Bob 的看法,不是業界共識。
• METR 2025 年「資深開發者用 AI 反而慢 19%」的實驗,METR 已自己標為過時,2026 年的新一輪結果他們說不可靠,片中不當成現況。DORA 2025 的「AI 用得越多、交付穩定度越差」是相關,不是因果。
• Uncle Bob 說的流水線(八月直播)與「效率極差、回到一個代理人」(九月節目)前後相隔約一個月,是他自己的翻案;他也說立場「下禮拜可能又變」。
原聲與畫面片段取自 Aviator〈Uncle Bob: Why I Stopped Reading Code and Building Harnesses〉(The Hangar DX Podcast,2026-09-24, • Uncle Bob: Why I Stopped Reading Code and ... )與 Matt Pocock〈LIVE: Uncle Bob on Software Fundamentals in the Age of AI〉(2026-08-19, • LIVE: Uncle Bob on Software Fundamentals i... ),版權屬原作者;本片為評論與教育用途的解說,原片畫面已裁去燒入的字幕與節目標誌,未使用對方的動態圖卡。資料以影片製作時(2026 年 10 月)為準。製作流程有使用 AI 工具。
📎 資料來源
• Uncle Bob: Why I Stopped Reading Code and Buildi • Uncle Bob: Why I Stopped Reading Code and ...
• The Hangar DX Podcast — Aviator https://www.aviator.co/podcast
• Aviator 官網 https://www.aviator.co/
• Uncle Bob X:AI will not replace programmers https://x.com/unclebobmartin/status/1...
• Uncle Bob X:AI bubble is about to pop https://x.com/unclebobmartin/status/1...
• Uncle Bob X:I don't review code written by agent https://x.com/unclebobmartin/status/2...
• Uncle Bob X:not read any of the code written by https://x.com/unclebobmartin/status/2...
• Clean Code 1st ed. — Pearson https://pearson.com/en-us/subject-cat...
• Clean Code 2nd ed. — InformIT https://www.informit.com/store/clean-...
• 無瑕的程式碼(首版中譯)— 天瓏 https://www.tenlong.com.tw/products/9...
• 無瑕的程式碼 2/e(中譯)— 天瓏 https://www.tenlong.com.tw/products/9...
• This Code is CRAP — Alberto Savoia, Google Testi https://testing.googleblog.com/2011/0...
• McCabe, A Complexity Measure (IEEE TSE SE-2(4)) https://www.cs.mtsu.edu/~untch/6050/p...
• DeMillo, Lipton, Sayward — Hints on Test Data Se https://doi.org/10.1109/C-M.1978.218136
• PIT Mutation Testing https://pitest.org/
• Inozemtseva & Holmes, Coverage Is Not Strongly C https://cs.ubc.ca/~rtholmes/papers/ic...
• Cucumber — History of BDD https://cucumber.io/docs/bdd/history
• Steve Yegge — Welcome to Gas City https://yegge.ai/essays/welcome-to-ga...
• Steve Yegge — The Shape of Things to Come, Part https://yegge.ai/essays/the-shape-of-...
• xAI — Grok Build is Now Open Source https://x.ai/news/grok-build-open-source
• LWN — Dirk and Linus discuss AI and kernel devel https://lwn.net/Articles/1073782/bigpage
• ZDNet — 'I use AI to do the things that I'm bad https://www.zdnet.com/tech/linus-torv...
• Linux kernel — AI Coding Assistants https://kernel.org/doc/html/latest/pr...
• Simon Willison — Not all AI-assisted programming https://simonwillison.net/2025/Mar/19...
• METR — Measuring the Impact of Early-2025 AI on https://metr.org/blog/2025-07-10-earl...
• METR — We are Changing our Developer Productivit https://metr.org/blog/2026-02-24-upli...
• Google Cloud — Announcing the 2025 DORA Report https://cloud.google.com/blog/product...
• Stack Overflow Developer Survey 2025 — AI https://survey.stackoverflow.co/2025/ai
• LIVE: Uncle Bob on Software Fundamentals in the • LIVE: Uncle Bob on Software Fundamentals i...
---
Jim AI Notebook | Note the Future
每日深度解析 AI 最新進展
#AI #UncleBob #CleanCode #無瑕的程式碼 #程式碼審查 #AI寫程式 #AI代理人 #單元測試 #變異測試 #軟體工程 #LinusTorvalds #MattPocock #Aviator #演講訪談系列 #JimAINotebook