The Art of Readable Code 在線電子書 圖書標籤: 編程 代碼質量 Programming 軟件開發 計算機 code 軟件工程 O'Reilly
發表於2025-02-23
The Art of Readable Code 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2025
這本書的Further Reading裏列齣來的書裏有Code Complete, Clean Code, Refactor, The Practice of Programming, 如果讀過其中的任何一本, 都會覺得這本書沒有什麼新的內容 ... 嗯 每一節開頭的漫畫很贊 ... 最後一章是一個從爛到贊的重構過程, 嗯, 讀起來很暈 ...
評分插圖很贊,排版也好,可惜內容無甚新意
評分Excellent one!
評分大部分是經驗之談
評分以後辱罵或者侮辱彆人代碼時就有更多辦法瞭...
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.
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的时候,一个应届毕业生问我,代码为什么需要可读性。我和他讲代码的美感和优雅、可维护性、可测试性,他却说那有什么用,只要能跑起来,能够实现功能,不就是好代码么?我不能否认这一点,但只能实现功能的代码绝对称不上好代码,就像没杀过人的人就是好人...
評分细节决定成败,思路清晰、言简意赅的代码让程序员一目了然;而格式凌乱、拖沓冗长的代码让程序员一头雾水。除了可以正确运行以外,优秀的代码必须具备良好的可读性,编写的代码要使其他人能在最短的时间内理解才行。本书旨在强调代码对人的友好性和可读性。 本书关注编码的细节...
評分很短的一本小书,基本是在编译代码的时候顺便看完的,差不多花了三天的时间吧,看完的整体感受是很实用,增加了对整理代码可读性的欲望。可以说是软实力的提升吧,书里面举的例子都很实用,基本上实战都可以用到,我觉得这本书应该至少阅读两遍吧。 除了这本书以外,还可以考虑...
評分《The Art of Readable Code》是一本关于代码可读性的书,很薄,180页,我手中的版本是2012年6月由东南大学出版社出版的影印版,其英文原版则是2011年出版的,已经是一本7年前的书了。一般而言,IT技术的发展之快导致技术书籍中提到的技术很快就会过期,但是这本不同,书中的观...
評分本书主要观点: 1. 优雅的命名 1.1 命名具备自解释性(解释用途) 1.2 能附加(必要的)更多信息(匈牙利命名法的类型信息) 1.3 命名格式统一,如 kConstName 骆驼命名法或单词下划线 bool变量的is, has, can等前缀 ... 1.4 遵循业界的命...
The Art of Readable Code 在線電子書 pdf 下載 txt下載 epub 下載 mobi 下載 2025