Zum Hauptinhalt springen
Nicht aus der Schweiz? Besuchen Sie lehmanns.de
Art of Readable Code - Dustin Boswell, Trevor Foucher

Art of Readable Code

Simple and Practical Techniques for Writting Better Code
Buch | Softcover
X, 190 Seiten
2011
O'Reilly Media, Inc, USA (Verlag)
978-0-596-80229-5 (ISBN)
CHF 56,50 inkl. MwSt
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 time

  • Write effective test code that is thorough and concise—as well as readable

Although raised in the circus, Dustin Boswell realized early on that he was better at computers than at acrobatics. Dustin received his B.S. from CalTech, where he got hooked on Computer Science, and then went to UC San Diego for his Master's Degree. He worked at Google for five years, on a variety of projects including web crawling infrastructure. Dustin is now an internet startup junkie who spends his free time hiking the Santa Monica mountains and being a new dad. Trevor Foucher has been shipping software projects for over 10 years, including Windows 2000 and OneCare at Microsoft, and Webmaster Tools at Google. He's been an individual contributor, manager, and tech lead. His goal is to make code more readable and reliable.

Chapter 1 Code Should Be Easy to Under
Chapter 2 Packing Information into Names
Chapter 3 Names That Can’t Be Misconstrued
Chapter 4 Aesthetics
Chapter 5 Knowing What to Comment
Chapter 6 Making Comments Precise and Compact
Chapter 7 Making Control Flow Easy to Read
Chapter 8 Breaking Down Giant Expressions
Chapter 9 Variables and Readability
Chapter 10 Extracting Unrelated Subproblems
Chapter 11 One Task at a Time
Chapter 12 Turning Thoughts into Code
Chapter 13 Writing Less Code
Chapter 14 Testing and Readability
Chapter 15 Designing and Implementing a “Minute/Hour Counter”
Appendix Further Reading
Books on Writing High-Quality Code
Books on Various Programming Topics
Books of Historical Note
Colophon

"Dank der Kürze und Anschaulichkeit, die mit einfacher Sprache, deutlichen Beispielen und eingeflochtenen Comicstreifen erreicht wurde, ist es durchaus ein Buch, das noch fehlte und Anfängern dringend anzutragen ist." $foo Magazin, 01/2012

Erscheint lt. Verlag 20.12.2011
Reihe/Serie Theory in Practice
Zusatzinfo illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 150 x 250 mm
Gewicht 666 g
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
ISBN-10 0-596-80229-3 / 0596802293
ISBN-13 978-0-596-80229-5 / 9780596802295
Zustand Neuware
Informationen gemäß Produktsicherheitsverordnung (GPSR)
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Grundlagen und praktische Anwendungen von Transpondern, kontaktlosen …

von Klaus Finkenzeller

Buch (2023)
Hanser (Verlag)
CHF 125,95
das umfassende Handbuch

von Marc Marburger

Buch | Hardcover (2024)
Rheinwerk (Verlag)
CHF 69,85