The Hayden Fang Archive方氏个人归档 Section 04 — Blog第 04 辑 — 文字 Sydney悉尼

Notes & essays随笔与长文

Section 04第 04 辑

Blog & notes文字与笔记

Thinking out loud — mostly an iOS engineer learning to vibe-code, plus the odd note on architecture and craft. 大声地想 —— 大多是一个 iOS 工程师学着 vibe coding 的记录,偶尔聊聊架构和手艺。

AI writes too many docsAI 写了太多文档 AI builds fast, but the repo fills up with PLAN, STATUS, DECISIONS, TODO — most of those docs may not need to exist at all.AI 写得很快,可项目里堆满了 PLAN、STATUS、DECISIONS、TODO —— 这些文档大多可能根本不必存在。
The code was done. Apple wasn't.代码写完了,苹果还在排队 I spent half a day blaming my own setup. The real problem was simpler — AI builds an app in an afternoon, but Apple's notarization queue still moves at human speed.我花了半天怀疑自己的配置。真正的问题很简单 —— AI 一下午就搓出一个 app,可苹果的公证队列还是人工速度。
The day code got cheap代码变得不要钱的那天 Code went nearly free, so the dev becomes a reviewer and teams fold — but a bad product mind just ships garbage faster.代码白菜价后,开发者变成 reviewer、团队在收缩 —— 但平庸的产品脑只会更快地造垃圾。
Apple's best habit became its AI problem苹果最好的习惯,成了 AI 时代的软肋 AI is so much worse at SwiftUI than React — and Apple's habit of shipping fast-moving new APIs is exactly why.AI 写 SwiftUI 远不如 React,而苹果每年激进更新 API 的习惯,恰恰是原因。
It'll invent an API with a straight face它会一本正经地发明一个不存在的 API It nails React, then fakes a SwiftUI API with the same straight face — the skill is a nose for the thin part of its map.它写 React 行云流水,转头用同样的表情捏造一个 SwiftUI API —— 本事是练出"地图变薄了"的嗅觉。
Context is the new RAM上下文,就是新的内存 Managing an agent's context window feels exactly like manual memory management in pre-ARC iOS.管理 agent 的上下文窗口,和 ARC 之前手动管内存一模一样。
Why the secret to learning AI is… spending money学 AI 的秘诀,竟然是花钱 On the "ouch number," sunk cost as a feature, and why the free model can quietly convince you AI is overhyped.关于"肉疼数字"、把沉没成本当成优点,以及免费模型如何悄悄让你以为"AI 被高估了"。
Waterfall wasn't wrong, it was early瀑布开发没错,只是来早了 Agile won because planning was expensive. AI made planning cheap — so big up-front design stops being a sin.敏捷之所以赢,是因为规划很贵。AI 让规划变便宜 —— 大设计先行不再是原罪。
From the editor to the terminal从编辑器搬进终端 Editor AI boxes you into the lines you selected and keeps drifting; a terminal agent reads the whole repo — and not grabbing the wheel is the point.编辑器 AI 把你锁在选中的几行、还老不同步;终端 agent 看得见整个 repo —— 而抢不到方向盘,正是关键。
The day I took it off the leash那天,我把它放开了绳子 I'd been the ChatGPT evangelist for years — then a terminal agent read my whole repo and did the senior move I was quietly proud of.我当了多年 ChatGPT 布道者 —— 直到一个终端 agent 读完我整个 repo,做出了我私下引以为傲的资深动作。
MVVM is not architecture magicMVVM 不是架构,只是给你一个放东西的地方 A pattern hands you a ViewModel, not an architecture — and why an Android dev could read our iOS code without speaking Swift.设计模式只给你一个 ViewModel,不是架构 —— 以及一个不会 Swift 的 Android 同事,怎么只靠读结构就读懂了我们的 iOS 代码。
Gallery图集 About关于