Art of Readable Code

No cover

Dustin Boswell, Trevor Foucher: Art of Readable Code (2011, O'Reilly Media, Incorporated)

206 pages

English language

Published Aug. 7, 2011 by O'Reilly Media, Incorporated.

ISBN:
978-1-4493-2138-3
Copied ISBN!

View on OpenLibrary

5 stars (1 review)

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 …

2 editions

Subjects

  • Coding theory