The Art of Readable Code

The Art of Readable Code

Simple and Practical Techniques for Writing Better Code

by Dustin Boswell, Trevor Foucher

206 pages· 2011· ISBN 9781449314217

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About
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

Discuss The Art of Readable Code with other readers

Join or start a book club for The Art of Readable Code on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for The Art of Readable Code?

Sign up free on Readfeed, then browse public clubs or start your own club with The Art of Readable Code as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss The Art of Readable Code with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about The Art of Readable Code with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.