Library Hours
Monday to Friday: 9 a.m. to 9 p.m.
Saturday: 9 a.m. to 5 p.m.
Sunday: 1 p.m. to 9 p.m.
Naper Blvd. 1 p.m. to 5 p.m.
     
Results Page:  Previous Next
Author Boswell, Dustin.

Title The art of readable code / Dustin Boswell and Trevor Foucher. [O'Reilly electronic resource]

Edition 1st ed.
Imprint Sebastopol, Calif. : O'Reilly Media, 2011, ©2012.
QR Code
Description 1 online resource (x, 190 pages) : illustrations.
Series Theory in practice
Theory in practice (Sebastopol, Calif.)
Bibliography Includes bibliographical references and index.
Contents 1. Code should be easy to understand -- Part 1. Surface-Level Improvements: 2. Packing information into names; 3. Names that can't be misconstrued; 4. Aesthetics ; 5. Knowing what to comment; 6. Making comments precise and compact -- Part 2. Simplifying Loops and Logic: 7. Making control flow easy to read; 8. Breaking down giant expressions; 9. Variables and readability -- Part 3. Reorganizing Your Code: 10. Extracting unrelated subproblems; 11. One task at a time; 12. Turning thoughts into code; 13. Writing less code -- Part 4. Selected Topics: 14. Testing readability; 15. Designing and implementing a "minute/hour counter."
Summary 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. - Publisher.
Subject Computer programming.
Coding theory.
Programmation (Informatique)
computer programming.
Coding theory
Computer programming
Added Author Foucher, Trevor.
Other Form: Print version: Boswell, Dustin. Art of readable code. 1st ed. Sebastopol, Calif. : O'Reilly, 2011, ©2012 9780596802295 (OCoLC)767878680
ISBN 9781449321383
1449321380
(pbk.)
(pbk.)
Patron reviews: add a review
Click for more information
EBOOK
No one has rated this material

You can...
Also...
- Find similar reads
- Add a review
- Sign-up for Newsletter
- Suggest a purchase
- Can't find what you want?
More Information