The Art of Readable Code

Simple and Practical Techniques for Writing Better Code

Nonfiction, Computers, General Computing
Cover of the book The Art of Readable Code by Dustin  Boswell, Trevor Foucher, O'Reilly Media
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Dustin Boswell, Trevor Foucher ISBN: 9781449314217
Publisher: O'Reilly Media Publication: November 3, 2011
Imprint: O'Reilly Media Language: English
Author: Dustin Boswell, Trevor Foucher
ISBN: 9781449314217
Publisher: O'Reilly Media
Publication: November 3, 2011
Imprint: O'Reilly Media
Language: English

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

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

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.

"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

More books from O'Reilly Media

Cover of the book Cloud Foundry: The Definitive Guide by Dustin  Boswell, Trevor Foucher
Cover of the book Architecting HBase Applications by Dustin  Boswell, Trevor Foucher
Cover of the book Head First Data Analysis by Dustin  Boswell, Trevor Foucher
Cover of the book RESTful .NET by Dustin  Boswell, Trevor Foucher
Cover of the book Network Security Hacks by Dustin  Boswell, Trevor Foucher
Cover of the book Programming PHP by Dustin  Boswell, Trevor Foucher
Cover of the book Office 2010: The Missing Manual by Dustin  Boswell, Trevor Foucher
Cover of the book JavaScript Web Applications by Dustin  Boswell, Trevor Foucher
Cover of the book RESTful Java with JAX-RS 2.0 by Dustin  Boswell, Trevor Foucher
Cover of the book I Heart Logs by Dustin  Boswell, Trevor Foucher
Cover of the book ClojureScript: Up and Running by Dustin  Boswell, Trevor Foucher
Cover of the book Hacks für die Digitale Fotografie by Dustin  Boswell, Trevor Foucher
Cover of the book AppleScript: The Missing Manual by Dustin  Boswell, Trevor Foucher
Cover of the book Cloud Application Architectures by Dustin  Boswell, Trevor Foucher
Cover of the book Google Maps Hacks by Dustin  Boswell, Trevor Foucher
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy