《编写可读代码的艺术》封面

编写可读代码的艺术

The Art of Readable Code

Dustin Boswell · 初版 2011 年

11人推荐
14位读者提及
17次提及

为什么值得读

  • 篇幅精炼短小,专注讲解实用编码技巧
  • 聚焦变量命名和结构组织以增强代码可维护性
  • 即便是资深程序员也能从中获得启发

作为程序员,我们都见过丑陋且漏洞百出、让人头痛不已的源代码。在过去的五年里,作者达斯汀·博斯韦尔(Dustin Boswell)和特雷弗·福彻(Trevor Foucher)分析了数百个“糟糕代码”的实例(其中许多是他们自己写的),以探究其糟糕的原因以及如何加以改进。他们的结论是什么?你写的代码应该尽量缩短他人理解它所需的时间——即使那个“他人”就是未来的你自己。本书侧重于每次编写代码时都可以运用的基本原则和实用技巧。通过采用来自不同语言、易于理解的代码示例

Hacker News 上怎么说

  • ……https://cleancoders.com/ 视频;Hunt 和 Thomas 的《The Pragmatic Programmer》:https://www.amazon.com/Pragmatic-Programmer-Journeyman-Maste...;《Hitchhiker's Guide to Python》:https://docs.python-guide.org/;Dustin Boswell 的《The Art of Readable Code》:https://www.amazon.com/Art-Readable-Code-Practical-Technique...;John Ousterhout 的《A Philosophy of Software Design》:https://www.amazon.com/Philosophy-Software-Design-John-Ouste... 这一本看起来格外……

    …https://cleancoders.com/ videos Hunt and Thomas, The Pragmatic Programmer: https://www.amazon.com/Pragmatic-Programmer-Journeyman-Maste... Hitchhiker's Guide to Python: https://docs.python-guide.org/ Dustin Boswell The Art of Readable Code: https://www.amazon.com/Art-Readable-Code-Practical-Technique... John Ousterhout, A Philosophy of Software Design: https://www.amazon.com/Philosophy-Software-Design-John-Ouste... This one looks particularly…

  • 《The Art of Readable Code》写得太棒了。http://www.amazon.com/Art-Readable-Code-Dustin-Boswell/dp/05...

    The Art of Readable Code is excellent. http://www.amazon.com/Art-Readable-Code-Dustin-Boswell/dp/05...

  • ……重点关注那些经实践证明能提升软件可读性和可维护性(以及其他各种软件 ~ility 特性)的经验做法,以便后续对软件进行修改。Dustin Boswell 和 Trevor Foucher 的《The Art of Readable Code》;Steve Krug 的《Don't Make Me Think》第二版;Jason Fried & DHH 的《Remote: Office not Required》;Roy Osherove 的《The Art of Unit Testing》;Steve McConnell 的《Code Complete 2》……

    …with a strong focus on proven practices that enhance software quality in terms of readability and maintainability (and other software ~ilities) to ease the process of changing the software later on. The Art of Readable Code by Dustin Boswell & Trevor Foucher Don't Make Me Think 2ed by Steve Krug Remote: Office not Required by Jason Fried & DHH The Art of Unit Testing by Roy Osherove Code Complete 2 by Steve McConnell…

  • 这篇(可以说是挺不错的)帖子涵盖了《The Art of Readable Code: Simple and Practical Techniques for Writing Better Code》[1] 这本书里的一小部分要点。我可以把它推荐给每一位程序员,哪怕是经验丰富的老手,因为即便他们可能已经知道里面提到的大多数内容,书中的呈现方式……

    This (arguably nice) post covers a small number of the points made in the book The Art of Readable Code: Simple and Practical Techniques for Writing Better Code[1] I can recommend this to every programmer, even experienced ones, because even if they might know most of the things mentioned, it is presented…

  • 不,还是有又新又精炼的书的,虽然我也承认确实少见:比如《The Art of Readable Code》(Google 员工写的)http://www.amazon.com/Art-Readable-Code-Dustin-Boswell/dp/05...

    No, there are new, concise book, though I agree they're rare: The Art of Readable Code (by Googlers) http://www.amazon.com/Art-Readable-Code-Dustin-Boswell/dp/05...

  • 我推荐 Boswell 写的《The Art of Readable Code》。写得非常好,读起来很享受。http://www.amazon.com/The-Readable-Code-Dustin-Boswell/dp/05...

    I would recommend "The Art of Readable Code" by Boswell. It is very well-written and enjoyable. http://www.amazon.com/The-Readable-Code-Dustin-Boswell/dp/05...

正在加载完整评论……

键盘快捷键

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