In weniger als einer Minute können Sie mit dem Lesen von The Art of Readable Code (Theory in Practice) auf Ihrem Kindle beginnen. Sie haben noch keinen Kindle? Hier kaufen Oder fangen Sie mit einer unserer gratis Kindle Lese-Apps sofort an zu lesen.

An Ihren Kindle oder ein anderes Gerät senden


Kostenlos testen

Jetzt kostenlos reinlesen

An Ihren Kindle oder ein anderes Gerät senden

Jeder kann Kindle Bücher lesen  selbst ohne ein Kindle-Gerät  mit der KOSTENFREIEN Kindle App für Smartphones, Tablets und Computer.
The Art of Readable Code (Theory in Practice)

The Art of Readable Code (Theory in Practice) [Kindle Edition]

Dustin Boswell , Trevor Foucher
4.0 von 5 Sternen  Alle Rezensionen anzeigen (1 Kundenrezension)

Kindle-Preis: EUR 15,13 Inkl. MwSt. und kostenloser drahtloser Lieferung über Amazon Whispernet

Weitere Ausgaben

Amazon-Preis Neu ab Gebraucht ab
Kindle Edition EUR 15,13  
Taschenbuch EUR 22,95  

Kunden, die diesen Artikel gekauft haben, kauften auch



"Selbstbeschränkung ist die große Stärke dieser Schrift. Kleine Kapitel, knappe Absätze, Comics, Diagramme, Listen und viele kurze bis winzige Beispiele [...] helfen Anfängern sowie Interessenten mit wenig Zeit konkret zu begreifen, welche Verhaltensweisen ihnen auf lange Sicht das Programmiererleben erleichtern. Die klare, natürliche Sprache, die sich direkt an den Leser wendet, hilft zusätzlich beim Verständnis." -, August 2012 "Das Buch ist locker zu lesen, stellenweise witzig, und es bringt das, worauf es ankommt, stets auf den Punkt." - entwicklermagazin, 3/2012


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


  • Format: Kindle Edition
  • Dateigröße: 3795 KB
  • Seitenzahl der Print-Ausgabe: 206 Seiten
  • Gleichzeitige Verwendung von Geräten: Keine Einschränkung
  • Verlag: O'Reilly Media; Auflage: 1 (3. November 2011)
  • Verkauf durch: Amazon Media EU S.à r.l.
  • Sprache: Englisch
  • ASIN: B0064CZ1XE
  • Text-to-Speech (Vorlesemodus): Aktiviert
  • X-Ray:
  • Durchschnittliche Kundenbewertung: 4.0 von 5 Sternen  Alle Rezensionen anzeigen (1 Kundenrezension)
  • Amazon Bestseller-Rang: #113.960 Bezahlt in Kindle-Shop (Siehe Top 100 Bezahlt in Kindle-Shop)

  •  Ist der Verkauf dieses Produkts für Sie nicht akzeptabel?

Mehr über den Autor

Entdecken Sie Bücher, lesen Sie über Autoren und mehr

Welche anderen Artikel kaufen Kunden, nachdem sie diesen Artikel angesehen haben?


5 Sterne
3 Sterne
2 Sterne
1 Sterne
4.0 von 5 Sternen
4.0 von 5 Sternen
Die hilfreichsten Kundenrezensionen
1 von 2 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Informativ und gut zu lesen 23. Juni 2013
Von sad rane
Format:Taschenbuch|Verifizierter Kauf
Neben mir bereits bekannten Vorgehensweisen konnte ich einige Anregungen mitnehmen. Meine Erfahrungen beim Lesen von existierendem Code zeigen, dass zu wenige Programmierer sich mit dem Thema beschäftigt haben.
Es ist relativ leicht zu lesen und die Code-Beispiele sind eine gute Illustration des Anliegens der Autoren sowie der Vorgehensweise.
Auch wenn sich manche Vorschläge trivial anhören und man auch nicht mit allen Ansichten übereinstimmt, lohnt es sich doch, darüber nachzudenken und die eigene Arbeit kritisch zu beleuchten.
War diese Rezension für Sie hilfreich?
Die hilfreichsten Kundenrezensionen auf (beta) 4.5 von 5 Sternen  15 Rezensionen
36 von 42 Kunden fanden die folgende Rezension hilfreich
3.0 von 5 Sternen Nothing New 12. Dezember 2011
Von W. Doran - Veröffentlicht auf
Good coding practices/style is well worked territory. There are many book and web pages devoted to the subject. This book walks through well treaded territory: variable names, loop structures, code block organization, subroutine structures, etc. For an experienced programmer, there is nothing new in The Art of Readable Code. This is especially unfortunate because they start off with a measurable metric for readable code: how long does it take a programmer previously unfamiliar with the code to understand it. This seemed like a great idea and got me to buy the book. However once you get into the text, when comparing code snippet A with snippet B, instead of showing the two versions to a group of programmers and timing them, they give their opinion about which version would take less time to understand by some mythical programmer looking at the code for the first time. Now, I don't really disagree their opinions any of the topics in the book (ok, I like the ternary operator more than they do), but it is just opinion. I would love for someone to take the examples in this book and do the experiments. This would be hard, and maybe expensive, but the authors and I would surely learn something. That would be great book to read.
5 von 5 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Great advice for all programmers 15. Dezember 2011
Von N. Krumpe - Veröffentlicht auf
Format:Kindle Edition|Verifizierter Kauf
I teach an introductory Java programming course. I spend a lot of time (my students might say that I spend too much time) reminding them that well placed comments, meaningful variable names, indentation, judicious use of blank lines, and so on all lead to code that is easier for them and for other programmers to read and understand. But, when these words come from me, I'm afraid that it comes across as "just another requirement to follow".

Along comes "The Art of Readable Code". The authors have written a very enjoyable, highly readable book about readability. They go beyond simply stating a set of guidelines, instead explaining the motivation behind each suggestion. I love that they show both good and bad from-the-field examples of how programmers write code. I found myself nodding in agreement with much of what they said. I also think they do a much better job than I when it comes to explaining that readable code is not simply a set of requirements to follow, but that there are simple compelling reasons behind readability, not the least of which is to make life easier for others who will read your code.

I have decided that I will begin making this a required reference for my students. Our school subscribes to Safari Online Books, which gives our students free access to O'Reilly books such as this one. Even if my students couldn't get it for free, I think it's a book I would want our computer science/software engineering majors to have handy as a reference. I bought the Kindle edition for myself, and found that it is very readable on the Kindle Fire...and much more relaxing to read this way than from the Safari site (and currently only about half the cost of buying the physical book).

From now on, I will let this book deliver the message to my students about readable code.
4 von 4 Kunden fanden die folgende Rezension hilfreich
5.0 von 5 Sternen Worth reading, great for lunch-time discussions 22. Dezember 2011
Von Matthew B. Doar - Veröffentlicht auf
The more code I write, the more care I take to make it readable for my future self. So I've thought about this subject for a while now. The authors of this book have managed to capture all of my thoughts, and a bunch more.

It's well-planned, written and edited. Not too long (184 pages) and the cartoons don't get in the way, and even occasionally add value. I admired the way that the authors recognized a few classic flame-war subjects, made their opinions known and then moved right along. I think the examples for each idea are all good ones.

I recommend reading it with a body of code in mind, so you can think about live examples of all the issues that the authors raise.

Disclaimer: I requested a copy of this book from O'Reilly so I could review it.
3 von 3 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen Excellent advice; if only it were commonly followed! 31. Dezember 2011
Von Robert H. Stine Jr. - Veröffentlicht auf
Format:Kindle Edition
Insightful and practical coding advice from Dustin Boswell and Trevor Foucher. For years I've been saying that good code easy to understand. Obviously readable code is easier to maintain; the authors point out that it is also easier to test, easier to modify, and easier to reuse. My only quibble is their disparagement of the tertiary operator, which I think can improve code clarity, but without doubt this is an outstanding book on programming.

Other reviewers have described this book as introductory, offering nothing new. Well, the book is not rocket science, but it makes a great case for practices that should be followed but usually aren't. I'm a programmer; I've worked at many software start-ups, and what I see all too often is brittle code, gazillion-line methods, god classes, and pointless tight coupling.

Also, the authors introduce a notion of an economy or budget of mental effort: if what should be simple to understand is a chore, then it is going to be easy to miss problems in the tough stuff. Across the board, the authors articulate compelling cases for doing things the right way, which could be handy for discussions with your colleagues and boss.

Finally, the concrete coding example at the book's end should be educational for even experienced programmers.
2 von 2 Kunden fanden die folgende Rezension hilfreich
4.0 von 5 Sternen The Art of Readable Code by Dustin Boswell and Trevor Foucher; O'Reilly Media 30. Dezember 2011
Von Systems Dude - Veröffentlicht auf
Programmers Dustin Boswell and Trevor Foucher present The Art of Readable Code: Simple and Practical Techniques for Writing Better Code with the underlying premise that, "code should be easy to understand." This practical and clearly-articulated text provides sound advice to assist the reader with both fundamental and advanced techniques to write code which is easy to read and understand. With chapters organized into four progressively complex sections, Boswell and Foucher focus first on basic improvements to code, offering tips about naming, commenting, and aesthetics which are applicable to almost any code, both simple and advanced. Progressing to variables, loops, and logic and then to code reorganization into functions, the authors lead the reader through important lessons and a wealth of examples. The book culminates in a study of code testing and a case study analysis of code development, applying the principles offered in the preceding chapters.

This collection of solid programming advice is bolstered by numerous code examples in several mainstream programming languages, yet is presented at a level which is accessible to a broad audience. Whether a student needing guidance, a novice programmer, or a more experienced programmer who could use a reminder about good practices the reader is certain to glean valuable tips which will help him or her write better code. The authors are successful in creating an easy and fun read which can either be traversed cover to cover or selectively, with the help of the contents pages and index. Supplemented with expressive cartoons and quotations (including Yoda!), each chapter concludes with concise summaries which embody the key principles presented. A further reading list is also provided.

As a self-taught intermediate programmer, reading this book has helped me identify some areas in which I could make my existing code better. The authors draw attention to warning signs that code is not as easy to understand as it could be. I only wish that I had encountered this sage advice several years earlier before developing coding habits which need correcting. The success of Boswell and Foucher in their endeavor to educate programmers in the oft-overlooked area of creating code which is intuitive to the reader is evident to me because reading this book has caused me to reflect, learn, and resolve to write better code.

Practical, enjoyable, and very readable. Recommended for students in computer programming and any programmer, of any level of experience, who has looked back at his/her code of several months ago and thought, "What does this part do?"

O'Reilly Media provided me with a free electronic copy of this book to review. Learn more about The Art of Readable Code at [...]
Waren diese Rezensionen hilfreich?   Wir wollen von Ihnen hören.
Kundenrezensionen suchen
Nur in den Rezensionen zu diesem Produkt suchen

Beliebte Markierungen

 (Was ist das?)
Code should be written to minimize the time it would take for someone else to understand it. &quote;
Markiert von 10 Kindle-Nutzern
Its better to be clear and precise than to be cute. &quote;
Markiert von 5 Kindle-Nutzern
Instead of minimizing the number of lines, a better metric is to minimize the time needed for someone to understand it. &quote;
Markiert von 4 Kindle-Nutzern

Kunden diskutieren

Das Forum zu diesem Produkt
Diskussion Antworten Jüngster Beitrag
Noch keine Diskussionen

Fragen stellen, Meinungen austauschen, Einblicke gewinnen
Neue Diskussion starten
Erster Beitrag:
Eingabe des Log-ins

Kundendiskussionen durchsuchen
Alle Amazon-Diskussionen durchsuchen

Ähnliche Artikel finden