“ESR's /The Art of Unix Programming/ explains the philosophy of Unix: why things are the way they are.”
The Art of Unix Programming
讲解 Unix 设计哲学、历史与软件设计原则的经典
Eric S. Raymond 总结 Unix 社区几十年积累下来的设计哲学,包括模块化、简洁、组合、文本接口等原则,并结合 Unix 的历史和各种工具说明这些决定背后的原因。书中以叙述和案例为主,没有习题,也涉及命令行程序的惯例、协议设计和与其他系统的对比。它更像一本讲设计思想的书,而不是 Unix 使用手册。
HN 上的人推荐它是因为它把 Unix 哲学讲得最完整,解释了很多命令行惯例和设计取舍的来历,写命令行程序的人读了会有收获;有人建议买纸质版通读。
写命令行程序或想理解 Unix 设计思想的程序员
怎么读
由 Claude 根据这本书和 HN 上的说法整理,可能有错- 1先读讲 Unix 哲学的开头几章,把原则弄清楚
- 2历史章节可以当故事读,帮助理解设计取舍的背景
- 3写命令行程序时回头查阅相关章节
- 4与亲手使用 Unix 工具的实践结合着读
HN 书评
推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算“ESR's "The Art of Unix Programming" has a good section on consistent default of command line options”
“Reading things like ESR's summary of the UNIX philosophy might also help -- much of the UNIX philosophy exists to manage complexity in a huge system.”
“One of the best books on the Unix philosophy is "The Art of Unix Programming", which is available for free. (I recommend getting a hard copy and reading the whole thing.)”
“The Art of Unix Programming [1] made me understand my experience living through the transition from MSDos to twenty years of Windows”
“Raymond's The Art of Unix Programming is a good resource for understanding the design philosophy of Unix...and by extension Linux.”
看全部 20 条 →
“The design ideas originated with Unix. They were quite explicit, read this book: The Art of Unix Programming”
“please read The Art of UNIX Programming, which should have been called The Philosophy of UNIX:”
“if you're writing unix programs often, do yourself a favor and read all of TAOUP. It really helps crystallize the Unix Philosophy in a way that a grab bag of suggestions doesn't.”
“Read (链接) Then read: The Art of Unix Programming”
“it does do a good job covering the basic philosophy and some of the history of why certain design decisions were made.”
“See "The Art Of Unix Programming" for a full explanation of the philosophy.”
“I'm still trying to achieve everything he advocates, but what I've managed so far has been extremely beneficial.”
“For another short overview, there's also Eric S. Raymond's take on Plan 9 in "The Art of Unix Programming":”
“The Art of Unix Programming by Eric Raymond is a good in-depth look at (not just) Unix CLI programs, covering both pros and cons”
“But I found TAOUP articulated ideas I only learnt through osmosis.”
“Eric S. Raymond also wrote a nice chapter on UNIX history in "The Art of Unix Programming": The Art of Unix Programming”
“I would very much recommend The Art of UNIX programming, by Eric S. Raymond [0]”
“Good book on this: (链接) Online for free: The Art of Unix Programming”
“I had read the book some time ago. It was interesting.”