The art of readable code

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...

Descripción completa

Detalles Bibliográficos
Autor principal: Boswell, Dustin (-)
Otros Autores: Foucher, Trevor (illustrator), Treseler, Mary, Allred, Dave, Romano, Robert (Illustrator), illustrator
Formato: Libro electrónico
Idioma:Inglés
Publicado: Sebastopol, California : O'Reilly 2011.
Edición:First edition
Colección:Theory in practice (Sebastopol, Calif.)
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627999606719
Descripción
Sumario: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.
Notas:"Simple and practical techniques for writing better code"--Cover.
"Nutshell handbook"--title page verso.
Descripción Física:1 online resource (204 p.)
Bibliografía:Includes bibliographical references (pages 182-184) and index.
ISBN:9781449314217
9781449321383