The Art of Readable Code

The Art of Readable Code pdf epub mobi txt 电子书 下载 2025

Dustin Boswell

Although raised in the circus, Dustin Boswell realized early on that he was better at computers than at acrobatics. Dustin received his B.S. from CalTech, where he got hooked on Computer Science, and then went to UC San Diego for his Master's Degree. He worked at Google for five years, on a variety of projects including web crawling infrastructure. Dustin is now an internet startup junkie who spends his free time hiking the Santa Monica mountains and being a new dad.

Trevor Foucher has been shipping software projects for over 10 years, including Windows 2000 and OneCare at Microsoft, and Webmaster Tools at Google. He's been an individual contributor, manager, and tech lead. His goal is to make code more readable and reliable.

出版者:O'Reilly Media
作者:Dustin Boswell
出品人:
页数:300
译者:
出版时间:2011-10-8
价格:USD 34.99
装帧:Paperback
isbn号码:9780596802295
丛书系列:
图书标签:
  • 编程 
  • 代码质量 
  • Programming 
  • 软件开发 
  • 计算机 
  • code 
  • 软件工程 
  • O'Reilly 
  •  
想要找书就要到 小美书屋
立刻按 ctrl+D收藏本页
你会得到大惊喜!!

As programmers, we've all seen source code that's so ugly and buggy it makes our brain ache. And let's be honest, we've all written code like that. With this book, you'll learn to write code that's easy to read and understand. You'll have more fun and your coworkers will love you.

The Art of Coding focuses on the nuts and bolts of programming, with simple and practical techniques you can use every time you sit down to write code. You'll find tips throughout the book, with easy-to-digest code examples, helpful illustrations, and cartoons for fun.

* Learn to pick variable names that are "dense with information"

* Organize your loops and conditionals so they're easy to understand

* Make your comments short and sweet

* Recognize when your code is doing too many things at once

* Write tests that are concise, but thorough

* Master the art of breaking hard problems into many smaller ones

具体描述

读后感

评分

有一次在code review的时候,一个应届毕业生问我,代码为什么需要可读性。我和他讲代码的美感和优雅、可维护性、可测试性,他却说那有什么用,只要能跑起来,能够实现功能,不就是好代码么?我不能否认这一点,但只能实现功能的代码绝对称不上好代码,就像没杀过人的人就是好人...  

评分

本书主要观点: 1. 优雅的命名 1.1 命名具备自解释性(解释用途) 1.2 能附加(必要的)更多信息(匈牙利命名法的类型信息) 1.3 命名格式统一,如 kConstName 骆驼命名法或单词下划线 bool变量的is, has, can等前缀 ... 1.4 遵循业界的命...  

评分

接着去年11月份实习时用 kindle 读到 20% 落下的好书,中间隔了几个月... 这本新书的名字也是“The Art of xxx”,很容易让我感觉到这是很严谨不易读的书,那本 TAOCP 是我这种数学能力超弱的人读不了的,而 TAOUP 对几乎没怎么用过 Unix/Linux 的我也比较难理解甚至不知所云...  

评分

每次碰到一本好书,总会觉得相见恨晚,无疑《The Art of Readable Code》是编写程序之路上越早看到越好的一本书。大神Donald E. Knuth曾经说过:“Instead of imagining that our main tasks is to instruct a computer what to do, let us concentrate rather on explaining t...  

评分

接着去年11月份实习时用 kindle 读到 20% 落下的好书,中间隔了几个月... 这本新书的名字也是“The Art of xxx”,很容易让我感觉到这是很严谨不易读的书,那本 TAOCP 是我这种数学能力超弱的人读不了的,而 TAOUP 对几乎没怎么用过 Unix/Linux 的我也比较难理解甚至不知所云...  

用户评价

评分

里面还提到了对测试代码的可读性介绍,书里的漫画配得不错。

评分

终于知道什么叫“专注于细节”了!

评分

插图很赞,排版也好,可惜内容无甚新意

评分

可以很快看完的一本小书被我拖了个地老天荒。曾经从来不注意的事情在真正大项目却是至关重要的。如果大家都注意readability生活该是多么美好。附录不错,值得翻来看看。

评分

讲解的方式不错,有实例有分析

本站所有内容均为互联网搜索引擎提供的公开搜索信息,本站不存储任何数据与内容,任何内容与数据均与本站无关,如有需要请联系相关搜索引擎包括但不限于百度google,bing,sogou

© 2025 book.quotespace.org All Rights Reserved. 小美书屋 版权所有