skip to content
The art of readable code Preview this item
ClosePreview this item
Checking...

The art of readable code

Author: Dustin Boswell; Trevor Foucher
Publisher: Sebastopol, Calif. : O'Reilly Media, 2011, ©2012.
Series: Theory in practice (Sebastopol, Calif.)
Edition/Format:   eBook : Document : English : 1st edView all editions and formats
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  Read more...
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy online

Links to this item

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Boswell, Dustin.
Art of readable code.
Sebastopol, Calif. : O'Reilly, 2011, ©2012
(OCoLC)767878680
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Dustin Boswell; Trevor Foucher
ISBN: 9781449321383 1449321380
OCLC Number: 794554057
Description: 1 online resource (x, 190 pages) : illustrations.
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."
Series Title: Theory in practice (Sebastopol, Calif.)
Responsibility: Dustin Boswell and Trevor Foucher.

Abstract:

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.

Reviews

User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Related Subjects:(2)

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/794554057> # The art of readable code
    a schema:Book, schema:CreativeWork, schema:MediaObject ;
   library:oclcnum "794554057" ;
   library:placeOfPublication <http://id.loc.gov/vocabulary/countries/cau> ;
   library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/1058207481#Place/sebastopol_calif> ; # Sebastopol, Calif.
   schema:about <http://dewey.info/class/005.101/e23/> ;
   schema:about <http://id.worldcat.org/fast/872390> ; # Computer programming
   schema:about <http://id.worldcat.org/fast/866237> ; # Coding theory
   schema:bookEdition "1st ed." ;
   schema:bookFormat schema:EBook ;
   schema:contributor <http://viaf.org/viaf/256096313> ; # Trevor Foucher
   schema:copyrightYear "2012" ;
   schema:creator <http://viaf.org/viaf/256824304> ; # Dustin Boswell
   schema:datePublished "2011" ;
   schema:description "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.""@en ;
   schema:description "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."@en ;
   schema:exampleOfWork <http://worldcat.org/entity/work/id/1058207481> ;
   schema:genre "Electronic books"@en ;
   schema:inLanguage "en" ;
   schema:isPartOf <http://experiment.worldcat.org/entity/work/data/1058207481#Series/theory_in_practice> ; # Theory in practice
   schema:isPartOf <http://experiment.worldcat.org/entity/work/data/1058207481#Series/theory_in_practice_sebastopol_calif> ; # Theory in practice (Sebastopol, Calif.)
   schema:isSimilarTo <http://www.worldcat.org/oclc/767878680> ;
   schema:name "The art of readable code"@en ;
   schema:productID "794554057" ;
   schema:publication <http://www.worldcat.org/title/-/oclc/794554057#PublicationEvent/sebastopol_calif_o_reilly_media_2011_2012> ;
   schema:publisher <http://experiment.worldcat.org/entity/work/data/1058207481#Agent/o_reilly_media> ; # O'Reilly Media
   schema:url <http://site.ebrary.com/id/10758932> ;
   schema:url <http://proquest.tech.safaribooksonline.de/9781449318482> ;
   schema:url <http://proquest.safaribooksonline.com/9781449318482> ;
   schema:workExample <http://worldcat.org/isbn/9781449321383> ;
   wdrs:describedby <http://www.worldcat.org/title/-/oclc/794554057> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/1058207481#Place/sebastopol_calif> # Sebastopol, Calif.
    a schema:Place ;
   schema:name "Sebastopol, Calif." ;
    .

<http://experiment.worldcat.org/entity/work/data/1058207481#Series/theory_in_practice_sebastopol_calif> # Theory in practice (Sebastopol, Calif.)
    a bgn:PublicationSeries ;
   schema:hasPart <http://www.worldcat.org/oclc/794554057> ; # The art of readable code
   schema:name "Theory in practice (Sebastopol, Calif.)" ;
    .

<http://id.worldcat.org/fast/866237> # Coding theory
    a schema:Intangible ;
   schema:name "Coding theory"@en ;
    .

<http://id.worldcat.org/fast/872390> # Computer programming
    a schema:Intangible ;
   schema:name "Computer programming"@en ;
    .

<http://viaf.org/viaf/256096313> # Trevor Foucher
    a schema:Person ;
   schema:familyName "Foucher" ;
   schema:givenName "Trevor" ;
   schema:name "Trevor Foucher" ;
    .

<http://viaf.org/viaf/256824304> # Dustin Boswell
    a schema:Person ;
   schema:familyName "Boswell" ;
   schema:givenName "Dustin" ;
   schema:name "Dustin Boswell" ;
    .

<http://worldcat.org/isbn/9781449321383>
    a schema:ProductModel ;
   schema:isbn "1449321380" ;
   schema:isbn "9781449321383" ;
    .

<http://www.worldcat.org/oclc/767878680>
    a schema:CreativeWork ;
   rdfs:label "Art of readable code." ;
   schema:description "Print version:" ;
   schema:isSimilarTo <http://www.worldcat.org/oclc/794554057> ; # The art of readable code
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.