Publisher: O'Reilly Media Released: November 2011 Pages: 206
As programmers, we’ve all seen source code that’s so ugly and buggy it makes our brain ache. Over the past five years, authors Dustin Boswell and Trevor Foucher have analyzed hundreds of examples of "bad code" (much of it their own) to determine why they’re bad and how they could be improved. Their conclusion? You need to write code that minimizes the time it would take someone else to understand it—even if that someone else is you. This book focuses on basic principles and practical techniques you can apply every time you write code. Using easy-to-digest code examples from different languages, each chapter dives into a different aspect of coding, and demonstrates how you can make your code easy to understand. - Simplify naming, commenting, and formatting with tips that apply to every line of code
- Refine your program’s loops, logic, and variables to reduce complexity and confusion
- Attack problems at the function level, such as reorganizing blocks of code to do one task at a time
- Write effective test code that is thorough and concise—as well as readable
"Being aware of how the code you create affects those who look at it later is an important part of developing software. The authors did a great job in taking you through the different aspects of this challenge, explaining the details with instructive examples." —Michael Hunger, passionate Software Developer |
- Title:
- The Art of Readable Code
- By:
- Dustin Boswell, Trevor Foucher
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- November 2011
- Ebook:
- November 2011
- Pages:
- 206
- Print ISBN:
- 978-0-596-80229-5
- | ISBN 10:
- 0-596-80229-3
- Ebook ISBN:
- 978-1-4493-1417-0
- | ISBN 10:
- 1-4493-1417-1
|
-
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. View Dustin Boswell's full profile page. -
Trevor Foucher 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. View Trevor Foucher's full profile page. |
Colophon The cover image is from Getty Images. The cover fonts are Akzidenz Grotesk and Orator. Thetext font is Adobe’s Meridien; the heading font is ITC Bailey. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Arnold Robbins, Elbert Hannah, Linda Lamb
July 2008
Ebook: $27.99
Print & Ebook: $38.49
Print: $34.99
By Andrew Turner, Brady Forrest, Ben Lorica, Roger Magoulas
December 2008
|
Customer Reviews

3/6/2012 4.0Not at expert level ... By JustBeep from Bonn, Germany About Me Developer, QA Architect - Accurate
- Easy to understand
- Helpful examples
- Well-written
- Not comprehensive enough
- Too basic
2/2/2012 5.0Great book of practical tips on coding By House of Burt from California About Me Coder, Developer - Easy to understand
- Helpful examples
- Well-written
12/4/2011 (5 of 5 customers found this review helpful) 5.0The most focused book on readable code By Sebastian Larsson from Karlskrona, Sweden - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
- Expert
- Intermediate
- Novice
- Student
11/29/2011 (1 of 5 customers found this review helpful) 2.0Against Some of Clean Code Principles By r. from France About Me Developer, Educator, Maker - Easy to understand
- Helpful examples
11/11/2011 (3 of 13 customers found this review helpful) 2.0Didn't compare well to Code Complete By teak from Jyväskylä, Finland About Me Developer, Physicist 11/11/2011 (3 of 3 customers found this review helpful) 5.0Fantastic Book - Long Overdue By Robot Scott from Salt Lake City, UT About Me Designer, Developer, Educator - Accurate
- Concise
- Easy to understand
- Helpful examples
- Well-written
- Expert
- Intermediate
- Novice
- Student
|
|
|