不要做与世隔绝的功夫大师——约翰·卡马克
Don't be the out of touch Kung Fu master

原始链接: https://twitter.com/ID_AA_Carmack/status/2098443262214230095

约翰·卡马克将武术的演变与现代软件工程进行了类比。正如剑术从战场上实用的生存技能演变为一种精炼的传统修习(“道”),卡马克观察到,由于人工智能的兴起,手动编码也正在经历类似的转变。 他指出,曾经必不可少的技能(如手动汇编操作码)已从职业要求转变为“复古”爱好。虽然他拥抱这种演变,但也提出了警示:程序员不应成为固守陈规、脱离实际的“大师”,以免以牺牲效率为代价。正如传奇兵法家宫本武藏若活在现代可能会选择用突击步枪替代长剑一样,卡马克建议专业人士应优先考虑实际效能,而非对传统手动方法产生情感上的依恋。归根结底,虽然“编程之道”可能依然是一项令人满足的追求,但它不应成为在被新技术重塑的环境中保持竞争力的阻碍。

这篇 Hacker News 的讨论围绕约翰·卡马克(John Carmack)的一条推文展开。他认为软件工程师不应成为“脱离实际的功夫大师”——意指那些固守陈旧手工传统的人,而现代的“综合格斗(MMA)”替代方案(即人工智能辅助编程)已被证明更为有效。 讨论帖中呈现了明显的观点分歧: * **人工智能支持者:** 认为 AI 是一种解放工具,消除了“偶然性复杂度”(如语法、API 查询),使开发者能专注于更高层面的架构、算法和产品交付。他们认为,抵制往往源于自尊心或未能适应不断变化的经济现实。 * **怀疑论者与传统派:** 认为 AI 生成的代码是“垃圾”——难以维护、容易产生隐蔽的 Bug,且缺乏构建稳健系统所需的深刻思维模型。他们认为,“氛围编程”(vibe coding)造就了一代缺乏基础理解的程序员,引发安全风险,并将开发者变成了受制于专有平台的“工具管理人员”。 * **中间派:** 许多参与者将 AI 作为特定任务(如重构、调试或编写样板代码)的效能倍增器,同时保留对关键架构的手动控制。他们强调,人类“架构师”的角色对于系统的长久运行仍然至关重要。
相关文章

原文

John Carmack on X: "I recently went through a translation of Musashi’s Book of Five Rings. The introduction chronicled the evolution of swordsmanship and martial arts in general from pragmatic battlefield necessities to sports, historical curiosities, and hobbies. It was interesting to hear how in the post-WW2 occupation when martial arts were banned, Judo was represented as equivalent to western wrestling, and Kendo later to western fencing. The poignant undercurrent for me is that I can see many programming skills following that path. There are probably dozens of people reading this that remember hand assembling opcodes to hex and still have some magic numbers burned into their memory, but even the small group of people still programming in assembly today (hey, @FFmpeg !) don’t work at that primitive level now. AI is making many other programming skills much less critical. We aren’t there yet, but carefully writing code completely by hand is moving from a -jitsu to a -do. Code-do? Codo? That’s ok! The retro computing scene is delightful, full of people building and exercising old skills for the love of it. But don’t be the out of touch Kung Fu master, heir to lifetimes of tradition, that gets mauled by an amateur MMA fighter. Musashi would probably have been pretty enthusiastic about assault rifles."

I recently went through a translation of Musashi’s Book of Five Rings. The introduction chronicled the evolution of swordsmanship and martial arts in general from pragmatic battlefield necessities to sports, historical curiosities, and hobbies. It was interesting to hear how in the post-WW2 occupation when martial arts were banned, Judo was represented as equivalent to western wrestling, and Kendo later to western fencing. The poignant undercurrent for me is that I can see many programming skills following that path. There are probably dozens of people reading this that remember hand assembling opcodes to hex and still have some magic numbers burned into their memory, but even the small group of people still programming in assembly today (hey, @FFmpeg !) don’t work at that primitive level now. AI is making many other programming skills much less critical. We aren’t there yet, but carefully writing code completely by hand is moving from a -jitsu to a -do. Code-do? Codo? That’s ok! The retro computing scene is delightful, full of people building and exercising old skills for the love of it. But don’t be the out of touch Kung Fu master, heir to lifetimes of tradition, that gets mauled by an amateur MMA fighter. Musashi would probably have been pretty enthusiastic about assault rifles.
联系我们 contact @ memedata.com