
About this book
Even bad code can function. But if code isn’t clean, it can bring a development organization to its knees. Every year, countless hours and significant resources are lost because of poorly written code. But it doesn’t have to be that way. Noted software expert Robert C. Martin presents a revolutionary paradigm with Clean Code: A Handbook of Agile Software Craftsmanship. Martin has teamed up with his colleagues from Object Mentor to distill their best agile practice of cleaning code “on the fly” into a book that will instill within you the values of a software craftsman and make you a better programmer–but only if you work at it. What kind of work will you be doing? You’ll be reading code–lots of code. And you will be challenged to think about what’s right about that code, and what’s wrong with it. More importantly, you will be challenged to reassess your professional values and your commitment to your craft. Clean Code is divided into three parts. The first describes the principles, patterns, and practices of writing clean code. The second part consists of several case studies of increasing complexity. Each case study is an exercise in cleaning up code–of transforming a code base that has some problems into one that is sound and efficient. The third part is the payoff: a single chapter containing a list of heuristics and “smells” gathered while creating the case studies. The result is a knowledge base that describes the way we think when we write, read, and clean code. Readers will come away from this book understanding How to tell the difference between good and bad code How to write good code and how to transform bad code into good code How to create good names, good functions, good objects, and good classes How to format code for maximum readability How to implement complete error handling without obscuring code logic How to unit test and practice test-driven development This book is a must for any developer, software engineer, project manager, team lead, or systems analyst with an interest in producing better code.
Tags
Select a tag to vote for it. Select it again to remove your vote. The number on a tag is how many readers voted for it. Search and Discover show this book under a tag when the tag comes from its published information, or when three readers vote for it. Only readers who have the book on their Currently Reading or Finished shelf count toward those three.
Moods
Vibes
Pace
What do these tags mean?
Moods
- Cozy:
- Low-jeopardy warmth: small stakes, a safe community, danger kept mostly off the page. A village mystery or a small-town romance qualifies; a tense thriller in a charming setting does not.
- Adventurous:
- A journey, quest, voyage or exploration drives the book; physical action and new places are central.
- Emotional:
- Grief, loss or hardship rendered so that moving the reader is the point of the book. Not for a book that merely has feelings in it.
- Dark:
- Bleak, disturbing or morally grim; cruelty, despair or violence are dwelt on, not passed over.
- Hopeful:
- Moves toward light: recovery, resilience, repair, things getting better by the end.
- Romantic:
- A romance between characters is a central thread, whether or not sex appears on the page.
- Funny:
- Written for laughs; comedy, satire or wit is a primary register.
- Spicy:
- Explicit sex is depicted on the page, in detail. Closed-door, fade-to-black or tension without depiction is romantic, not spicy.
Vibes
- Beach Read:
- Light, propulsive holiday reading.
- Page Turner:
- Hard to put down: short chapters, constant hooks.
- Literary:
- Prose style and form are themselves a point of the book.
- Thought-provoking:
- Poses ideas or questions the reader carries away.
- Atmospheric:
- A strong sense of place or mood; the setting is immersive.
- Character-driven:
- Interior lives and relationships propel the story: the book's engine is people.
- Plot-driven:
- Events, twists and momentum propel the story: the book's engine is what happens.
- Slow Burn:
- Tension, romantic or otherwise, builds gradually.
- Epic:
- Sweeping scope: a large cast, high stakes, a saga or several generations.
- Comfort Read:
- A gentle, reassuring, low-stakes reading experience. Cozy is about the story's stakes; comfort-read is about how the book feels to read.
Pace
- Slow:
- Unhurried: the book lingers on description, interior thought or daily detail, and plot events are far apart.
- Medium:
- Neither rushed nor lingering: the story moves steadily, with room for scene-setting and reflection.
- Fast:
- Events come quickly: short scenes, frequent turns, little time spent between them.
Content warnings
No content warnings are listed. That does not mean the book has none: the published information about it often leaves them out.
Tags and content warnings come from published information about the book and from readers. They can be wrong or incomplete.
Is a tag or warning wrong?
Report one that does not fit
Pick a tag or a content warning that does not fit this book.
Add a content warning
Pick one this book should have. Yours shows on the book once it is added.





