《程序设计实践》封面

程序设计实践

The Practice of Programming

Brian W. Kernighan · 初版 1999 年

90人推荐
128位读者提及
184次提及

为什么值得读

  • 不到三百页却详尽讲透软件开发实战细节
  • 探讨低侵入式排错与避免过度调试的思路
  • 包含马尔可夫链文本生成等多语言趣味实战

一部针对一线实战程序员的实用重要事务手册与汇编。

Hacker News 上怎么说

  • ……赞同通过单步调试代码来找 bug。这让我想起 Log4j 文档引言里的一句话 [0]:> 正如 Brian W. Kernighan 和 Rob Pike 在他们那本神作《The Practice of Programming》中所说:>> 出于个人选择,除了获取堆栈回溯(stack trace)或一两个变量的值之外,我们一般不倾向于使用 debugger。原因之一是很容易在复杂数据结构的细节中迷失……

    …condone single-stepping through code to find the bug. Reminds me of this quote from the introduction to Log4j docs [0]: > As Brian W. Kernighan and Rob Pike put it in their truly excellent book "The Practice of Programming": >> As personal choice, we tend not to use debuggers beyond getting a stack trace or the value of a variable or two. One reason is that it is easy to get lost in details of complicated data structures…

  • ……原因和 mahmud 一样。你说你不知道有哪本书“能如此透彻地讲透各种细节(nuts and bolts)”。我倒是能说出一本,讲的范围几乎完全重合:Kernighan 和 Pike 写的优秀著作《The Practice of Programming》。你当然可以说它没有覆盖得那么“透彻”——如果我们把透彻定义为“冗长啰嗦”的话。《The Practice of Programming》用短短 288 页就把所有……

    …reasons as mahmud. You say you don't know of a book "which cover the nuts and bolts in such a thorough way". I can name one that covers almost the same territory: Kernighan and Pike's excellent The Practice of Programming. You could certainly argue that it doesn't cover the same territory in such a "thorough" way, if by thorough we mean "needlessly bloated". The Practice of Programming manages to say, in 288 pages, everything…

  • ……和 James Dehnert 合著的《Fundamentals of Generic Programming》是部杰作。我还有几本暴露年龄的最爱:Kernighan 和 Plauger 的《Software Tools》,堪称穷人版的 Dragon book。Kernighan 和 Pike 的《The Practice Of Programming》,就好像 UNIX 哲学历经近 40 年还需要辩护一样。还有 Glenford Myers 的《Reliable Software Through Composite Design》和《Composite/Structured Design》。你得克服……

    …Fundamentals of Generic Programming (with James Dehnert) is a masterpiece. I have some favorites that show my age: Software Tools by Kernighan and Plauger. Can be thought of as the poor-man's Dragon book. The Practice Of Programming by Kernighan and Pike. As if the UNIX way needed any defending after almost 40 years. Reliable Software Through Composite Design and Composite/Structured Design by Glenford Myers. You have to get past…

  • 在 Kernighan 和 Pike 的《The Practice of Programming》里有一章,讲了用不同语言实现基于 Markov chains 的随机文本生成器。这是一个很不错的练习,玩起来很有意思。我猜没多少人……

    In Kernighan and Pike's "The Practice of Programming" there's a chapter that covers the implementation in different languages of a random text generator using markov chains. It's a nice exercise and a lot of fun to play with. I'm guessing that not many…

  • ……以及 Stack Overflow 上找最佳计算机科学与软件工程书籍列表。榜单上经常出现的几本代表作:- Bentley, "Programming Pearls" - Kernighan and Pike, "The Practice of Programming" - McConnell, "Code Complete" - Brooks, "The Mythical Man-Month" - Abelson and Sussman, "Structure and Interpretation of Computer Programs" - Gamma et al., "Design Patterns" - Fowler, "Refactoring"……

    …and Stack Overflow for lists of the best computer science and software engineering books. A few examples that tend to show up on these lists: - Bentley, "Programming Pearls" - Kernighan and Pike, "The Practice of Programming" - McConnell, "Code Complete" - Brooks, "The Mythical Man-Month" - Abelson and Sussman, "Structure and Interpretation of Computer Programs" - Gamma et al., "Design Patterns" - Fowler, "Refactoring"…

  • 恭喜!如果你还没读过,建议看看 Rob Pike 和 Brian Kernighan(K&R 里的那个 K)合著的《The Unix Programming Environment》和《The Practice of Programming》。这两本书短小精悍、干货满满,讲的都是如何把 Unix 工具集发挥到极致。前者写于计算机还很慢的年代……

    Congrats! If you haven't yet, check out _The Unix Programming Environment_ and _The Practice of Programming_, both by Rob Pike and Brian Kernighan (K of K&R). They're concise, highly informative books about using the Unix toolset to their maximum potential. The former was written back when computers were slow…

正在加载完整评论……

键盘快捷键

/
聚焦搜索框
j / k
下一本 / 上一本
Enter
打开选中的书
Esc
关闭 / 返回
g h
回到首页
g b
值得读精选
g t
历史总榜
g r
上升最快
g l
我的书架
?
显示本帮助