Art of Readable Code e-bog
202,21 DKK
(inkl. moms 252,76 DKK)
As programmers, weve all seen source code thats 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 "e;bad code"e; (much of it their own) to determine why theyre bad and how they could be improved. Their conclusion? You need to write code that minimizes the time it would take someone else to...
E-bog
202,21 DKK
Forlag
O'Reilly Media
Udgivet
3 november 2011
Længde
206 sider
Genrer
Information technology: general topics
Sprog
English
Format
pdf
Beskyttelse
LCP
ISBN
9781449321383
As programmers, weve all seen source code thats 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 "e;bad code"e; (much of it their own) to determine why theyre 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 iteven 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 codeRefine your programs loops, logic, and variables to reduce complexity and confusionAttack problems at the function level, such as reorganizing blocks of code to do one task at a timeWrite effective test code that is thorough and conciseas well as readable"e;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."e;Michael Hunger, passionate Software Developer