如今已没人会去翻编程书了
Nobody cracks open a programming book anymore

原始链接: https://unix.foo/posts/nobody-cracks-open-a-programming-book/

曾经作为书店和开发者教育主要支柱的技术编程书籍,正迅速走向衰落。销量大幅下滑,行业追踪机构实际上已停止报告该类别。ChatGPT 和 GitHub Copilot 等人工智能工具的兴起,使得这些印刷指南变得多余,因为开发者现在更喜欢即时、按需的答案,而不是阅读和手动编码这种缓慢且系统的方法。 作者指出,虽然编程书籍本身可能存在缺陷——迫使读者手动从静态页面输入代码——但这种“亲力亲为”的过程曾是锻炼纪律和强化记忆的关键形式。人工智能在没有挫折的情况下提供了答案,导致现代程序员的工作处于更高的抽象层面。虽然实体技术书籍的消失标志着一个时代的终结,但作者对此持哲学态度。曾经定义学习体验的“打字”正被新的、更高效的工作流程所取代,尽管印制代码的触感历史——那些咖啡渍和铅笔笔记——正在消失,但这仅仅反映了这项工艺在变化中必然的演进。

最近的一场 Hacker News 讨论探讨了编程书籍正逐渐被网络资源及大型语言模型(LLM)等 AI 工具所取代的现象。尽管一些评论者认为书籍在学习现代语法方面已趋于过时,但另一些人则强调了它们长久的价值。 主要观点包括: * **结构化学习:** 许多人认为,书籍提供了 AI 提示词所缺乏的必要纪律性和逻辑进阶,因此在掌握复杂的底层理论方面更具优势。 * **“词汇量”论点:** 一些人指出,阅读对于初级开发者仍然至关重要——其目的不一定是为了写代码,而是为了获得必要的技术素养,从而能够有效地指导和审查 AI 编程助手。 * **对 AI 的依赖:** 持怀疑态度的人担心基础理解力的下降,并指出,如果仅依赖 AI 而缺乏从经典著作(如《C 程序设计语言》)中获得的基础知识,将削弱人们解决复杂问题的能力,或使其失去作为“谬误检测器”的判断力。 * **个人偏好:** 尽管行业发生了转变,许多人仍倾向于通过纸质书进行深度学习,将其视为抵御在线信息快节奏、浅显特质的一种必要平衡手段。 总而言之,共识在于:尽管工具发生了变化,但对深度、结构化学习的需求依然存在。
相关文章

原文

POSTS

A sad look at the state of modern programming books.

FILED 2026-05-25 WORDS 873 READ 5 MIN BY CYRUS

There was, for a long time, a wall.

If you walked into a book store, past the magazines and the cookbooks, you’d arrive at the computer section, and along one wall there was a stretch of books with cartoon animals on their covers. A rhino for JavaScript. A camel for Perl. A python (obviously) for Python. And whatever this was:

Cover of vi Editor Pocket Reference

They were thick, they cost about $50, and they had titles like “Learning React” and “HTTP: The Definitive Guide”. If you wanted to learn how to do a thing on a computer, you bought one of these, took it home, and opened it up next to your computer and typed what it said until the thing worked.

That wall is smaller now. If it’s even still there. In some stores the wall is gone and relegated to a small rack that has six books on it, three of which are about ChatGPT.

Through the first nine months of 2023, sales in the “computer book” category at Circana BookScan (the industry’s standard tracker, which costs roughly the price of a small used car to subscribe to) were down 16.9% year over year. Publishers Weekly, which had been dutifully reporting these figures in its quarterly narrative summaries, kept doing so right up through that 16.9% figure, and then in 2024 and 2025 simply stopped mentioning the category by name.

To be clear, books in general are doing fine. Total U.S. print sales reached 762.4 million units in 2025, up 0.3% over 2024, which was itself up 0.5% over 2023. The category that is in trouble is the part of it that teaches you how to make software. The American Association of Publishers’ “professional books” segment, which is the rough corporate proxy for “books your employer might buy you,” fell 22.3% in August 2025.

The book industry is fine but the technical end is bleeding out.

Quickly and quietly. There was no Napster moment for the programming book. Nobody filed a lawsuit. The publishers did not, as far as I can tell, even hold a press conference. We simply found one day that they stopped reporting the category itself. The category doesn’t die, it just stops being talked about.

You already know why, more or less. ChatGPT has over 900 million monthly active users. GitHub Copilot has 4.7 million paying subscribers as of January 2026, up roughly 75% in a year. You can’t imagine writing software without Claude Code anymore.

Stack Overflow is receiving about 3,800 questions a month, which is what it was getting in 2008, before it had finished being launched. The chatbots have eaten the demand for the kinds of answers that programming books used to provide.

The programming book was, when you look at it squarely, always a slightly absurd object. Printed text on bound paper, describing software that lived on screens, which the reader had to retype, by hand, into a screen of their own. I loved doing this and they remain some of my very fondest childhood memories. But the medium was wrong for the content. People put up with it because there was no better way to get a careful sustained explanation of a technical thing into one person’s head from another person’s.

What the book was good at, despite being the wrong format, was forcing both the writer and the reader to be slow. You cannot fake your way through 400 pages. It took a certain discipline to get through.

The chatbot does not have this discipline. The chatbot has read every book and forgotten the point of every one of them. It will explain idempotency in the precise number of words you require, and you will close the tab, and you will not remember what it told you, because you did not type it.

That last sentence is the whole thing. Knowledge, for working programmers, was always the residue of typing. Of doing. The typing was the practice! What is going away is the typing.

Which, on balance, may be fine. I don’t know. People used to lose weekends to installing Linux from a stack of floppies and struggling with WinModems, and nobody pretends that was character-building (though I now consider them fond memories too). Tools get easier. Skills shift. The kid who is right now learning to code by chatting with an agent is not a worse programmer than I was at 12, hunched over Learning Perl, retyping examples that would not run because I missed a semicolon.

That kid is a different programmer. They are, in some ways I don’t fully understand, working at a higher level of abstraction than I ever did at that age, and the things they will build with that abstraction will surprise me.

But somewhere in a used bookstore in San Francisco or Seattle or wherever used bookstores still exist, there is a 1997 edition of Learning Perl. It smells faintly of basement. Someone wrote their name in the front of it in pencil. There is a furiously underlined sentence in chapter 7 about regular expressions that was made in anger. On page 112 there are coffee stains where the caffeine blots are somehow still a valid Perl program.

The book costs three dollars. Nobody is going to buy it.

联系我们 contact @ memedata.com