《The Art of Readable Code》是2011年O'Reilly Media出版的圖書,作者是Dustin Boswell、Trevor Foucher。
基本介紹
- 書名:The Art of Readable Code
- 作者:Dustin Boswell、Trevor Foucher
- 出版社:O'Reilly Media
- ISBN:9780596802295
內容簡介,圖書目錄,
內容簡介
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
圖書目錄
Dustin Boswell turned to computer programming at a very early age. After receiving his master's degree he joined Google, where he spends his working hours on web crawling and AdSense Ads.
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.