|
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
|
|
|
C++ by Example (Programming Series)
Uses examples, exercises, short chapters, and many marginal illustrations and explanations to show those with little or much programming experience how to operate the latest version of C++. Original. ... | | The Object Primer: Agile Model-Driven Development with UML 2.0Completely up-to-date, with all modeling notation rewritten in the just-released UML 2.0, this is the perfect book for any software development professional or student seeking an introduction to the concepts and terminology of object technology.
Scott Ambler, award-winning author of Building Object Applications that Work, Process... | | UML for Database DesignThe Unified Modeling Language (UML), the standard graphical notation for modeling business and software application needs, has emerged as an effective modeling tool for database design. When used as a common modeling language for the many facets of system development, the UML can serve as a unifying framework that facilitates... |
|