Shop Touchland
$47.39 with 21 percent savings
Digital List Price: $59.99

These promotions will be applied to this item:

You have subscribed to ! We will pre-order your items within 24 hours of when they become available. When new books are released, we’ll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships & Subscriptions
Added to

Sorry, there was a problem.

There was an error retrieving your wish lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet or computer – no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera, scan the code below and download the Kindle app.

QR code to download the Kindle app

  • Clean Code: A Handbook of Agile Software Craftsmanship

Follow the authors

Get new release updates via the Kindle app & improved recommendations.
See all
Something went wrong. Please try your request again later.

Clean Code: A Handbook of Agile Software Craftsmanship 1st Edition, Kindle Edition

4.7 out of 5 stars (6,577)
4.4 on Goodreads
23,585 ratings

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.
Due to its large file size, this book may take longer to download
This title is only available on select devices and the latest version of the Kindle app. Please refer to the supported devices list before purchase. Available on these devices

See all supported devices

Kindle E-Readers

  • Kindle Colorsoft (1st Generation)
  • Kindle Scribe Colorsoft (1st Generation)
  • Kindle Paperwhite (10th Generation)
  • Kindle Paperwhite (6th Generation)
  • Kindle Oasis (8th Generation)
  • Kindle Paperwhite (5th Generation)
  • Kindle (7th Generation)
  • Kindle Touch (4th Generation)
  • Kindle Oasis (10th Generation)
  • Kindle Scribe (3rd Generation)
  • Kindle Paperwhite (7th Generation)
  • Kindle Oasis (9th Generation)
  • Kindle (11th Generation, 2024 Release)
  • Kindle Paperwhite (12th Generation)
  • Kindle (8th Generation)
  • Kindle (10th Generation)
  • Kindle Scribe (1st Generation, 2022 Release)
  • Kindle Scribe (2024 Release)

Fire Tablets

  • Fire HD 8 (10th Generation)
  • Fire HD 10 (11th Generation)
  • Fire HD 8 (12th Generation)

Free Kindle Reading Apps

  • Kindle for Android Phones
  • Kindle for Android Tablets
  • Kindle for iPad
  • Kindle for iPhone
  • Kindle for PC
  • Kindle for Mac
  • Kindle for Web

Shop this series

 See full series
There are 19 books in this series.
2 unreleased or unavailable books are excluded.
  • Kindle Price:
    $538.35
    -
    By clicking on above button, you agree to Amazon's Kindle Store Terms of Use
    Sold by: Amazon.com.ca ULC

In this series (19 books)

Popular Highlights in this book

From the Publisher

Clean Architecture cover

From the Preface of "Clean Architecture"

“…The rules of software architecture are the rules of ordering and assembling the building blocks of programs. And since those building blocks are universal and haven’t changed, the rules for ordering them are likewise universal and changeless.

But one thing has changed: Back then, we didn’t know what the rules were. Consequently, we broke them, over and over again. Now, with half a century of experience behind us, we have a grasp of those rules.

And it is those rules—those timeless, changeless, rules—that this book is all about.”

— Robert C. "Uncle Bob" Martin

Clean Code: A Handbook of Agile Software Craftsmanship
The Clean Code: Practical Advices for the Professional Programmer
Clean Craftsmanship: Desciplines, Standards, and Ethics
Clean Agile: Back to Basics
Clean Architecture: A Craftsman's Guide to Software Structure and Design
Customer Reviews
4.7 out of 5 stars 6,577
4.6 out of 5 stars 2,229
4.6 out of 5 stars 192
4.7 out of 5 stars 618
4.7 out of 5 stars 3,962
Price $74.99 $60.41 $68.74 $56.24 $46.99
Best agile practices of cleaning code “on the fly” Software Craftsmanship. Endure and succeed amidst swirling uncertainty and nonstop pressure. Picks up where Clean Code leaves off, outlining additional ways to write quality and trusted code you can be proud of every day. A clear and concise guide to basic Agile values and principles. Perfect for those new to Agile methods and long-time developers who want to simplify approaches for the better. Direct, no-nonsense answers to key architecture and design questions.
"It is the best pragmatic application of Lean principles to software I have ever seen in print." —James O. Coplien, Founder of the Pasteur Organizational Patterns project “Some technical books inspire and teach; some delight and amuse. Rarely does a technical book do all four of these things.” — George Bullock ". . . [A] timely and humble reminder of the ever-increasing complexity of our programmatic world and how we owe it to the legacy of humankind--and to ourselves--to practice ethical development.” — Stacia Heimgartner Viscardi, CST & Agile Mentor “What is in the world of Agile development is nothing compared to what could be. This book is Bob’s perspective on what to focus on to get to that ‘what could be.’ And he’s been there, so it’s worth listening.” — Kent Beck "A good architecture comes from understanding it more as a journey than as a destination, more as an ongoing process of enquiry than as a frozen artifact." — Kevlin Henney
Clean Craftsmanship Cover

Pick Up Where Clean Code Leaves Off

"As software developers, we have to continually solve important problems for our employers, customers, colleagues, and future selves. Getting the app to work, though difficult, is not enough, it does not make you a craftsman. With an app working, you have passed the app-titude test. You may have the aptitude to be a craftsman, but there is more to master. In these pages, Bob expresses clearly the techniques and responsibilities to go beyond the app-titude test and shows the way of the serious software craftsman."

James Grenning, author of Test-Driven Development for Embedded C and Agile Manifesto co-author

Product description

From the Back Cover

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.

About the Author

Robert C. “Uncle Bob” Martin has been a software professional since 1970 and an international software consultant since 1990. He is founder and president of Object Mentor, Inc., a team of experienced consultants who mentor their clients worldwide in the fields of C++, Java, C#, Ruby, OO, Design Patterns, UML, Agile Methodologies, and eXtreme programming.

Product details

  • ASIN ‏ : ‎ B001GSTOAM
  • Publisher ‏ : ‎ Pearson
  • Accessibility ‏ : ‎ Learn more
  • Publication date ‏ : ‎ Aug. 1 2008
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • File size ‏ : ‎ 44.8 MB
  • Screen Reader ‏ : ‎ Supported
  • Enhanced typesetting ‏ : ‎ Enabled
  • X-Ray ‏ : ‎ Not Enabled
  • Word Wise ‏ : ‎ Not Enabled
  • Print length ‏ : ‎ 1214 pages
  • ISBN-13 ‏ : ‎ 978-0136083252
  • Page Flip ‏ : ‎ Enabled
  • Part of series ‏ : ‎ Robert C. Martin Series
  • Reading age ‏ : ‎ 18 years and up
  • Best Sellers Rank: #235,236 in Kindle Store (See Top 100 in Kindle Store)
  • Customer Reviews:
    4.7 out of 5 stars (6,577)

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.7 out of 5 stars
6,577 global ratings

Customers say

Customers find this book amazing and consider it a good read for software developers. The content is packed with practical insights, and the examples are great. Readers appreciate that the code is propre and describe it as an excellent book on the beginnings of clean code. The writing style is very well written, with principles that really help you write cleaner. Customers also find it an easy read that is compréhensible.
AI Generated from the text of customer reviews

Select to learn more

63 customers mention content, 63 positive, 0 negative
Customers find the book amazing and consider it a good read for software developers. They describe it as the best development book and an excellent programming book. Readers find the content useful and view it as a must read.
Great book, really helped me improve my coding abilities.Read more
Good readRead more
Awesome book.If you feel uncertain that the way you write code is efficient, read this book.Read more
Good book.Read more
20 customers mention informative, 19 positive, 1 negative
Customers find the book packed with practical insights and helpful principles. They appreciate the great examples provided and note that it offers practical insights into creating a seamless workflow. Readers report gaining much more new knowledge when coding and find the book very helpful overall.
...The principles in this book (though the examples/exercises not in the programming language I use) are excellent, and their application has...Read more
Very nice and detailed book on how to do nice codeRead more
This book is packed with practical insights you can apply right away....Read more
It is a very important book for every developer. A lot of valuable information in the book. It did teach me new way to have a clean code.Read more
11 customers mention writing style, 11 positive, 0 negative
Customers appreciate the book's writing style, describing it as very well written. They find the principles helpful for writing cleaner code and note that it teaches them how to write cleaner code. Readers report that the book helped them improve their coding abilities.
...with some of the points the author raises, I do recognize it is very well written and organized....Read more
This book was well written and easy to follow, and it helped me to overcome many of my programming issues simply by teaching me how to write cleaner...Read more
...I found the author of extensive experience and excellent writing style....Read more
...are clear, the examples are relevant, and the principles really help you write cleaner, more maintainable code as well as providing other team...Read more
10 customers mention code quality, 10 positive, 0 negative
Customers find the book provides excellent guidance on clean coding practices. They describe the code as clean and note that it helps produce more maintainable code. Readers report that the book changes their coding approach and serves as a comprehensive resource on clean coding principles.
...It did teach me new way to have a clean code.Read more
...relevant, and the principles really help you write cleaner, more maintainable code as well as providing other team members more relevant feedback,...Read more
The Code Bible, if you don't own this, you're not a real coder. Simple as that. How good is this book?...Read more
...how to develop technics and mindset helping to write better/clean/readable code.Read more
8 customers mention readability, 6 positive, 2 negative
Customers find the book easy to read and understand. They describe it as comprehensible and easy to follow.
...The explanations are clear, the examples are relevant, and the principles really help you write cleaner, more maintainable code as well as providing...Read more
...Despite being a technical book, it is an easy read and is it also applicable to real life code....Read more
...my copy's font is bolded throughout and slightly smaller making it harder to read....Read more
This book was well written and easy to follow, and it helped me to overcome many of my programming issues simply by teaching me how to write cleaner...Read more
Book is useful, condition not good
2 out of 5 stars
Book is useful, condition not good
I ordered this book and it is supposed to be brand new, and I received it like this ! Not what I expect when I pay 60 dollars for a book !
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from Canada

  • 5 out of 5 stars
    Amazing!
    Reviewed in Canada on August 13, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This book is packed with practical insights you can apply right away. The explanations are clear, the examples are relevant, and the principles really help you write cleaner, more maintainable code as well as providing other team members more relevant feedback, especially in PRs. I was surprised at how many ideas I could use immediately at my work. Highly recommended for anyone who wants to level up their coding skills.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    It's a very good read and worth every penny I spent
    Reviewed in Canada on August 10, 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    It's a very good read and worth every penny I spent. I feel I have improved a lot as a programmer in the process and have nearly halfed the time needed to write complex systems. This book is mostly aimed at professional programmers looking to become better programmer though I suppose it can still help you improve your skills if you code as a hobby. My background is that of a professional junior .NET programmer who develops video games in his spar time using Unity. Now, this book mostly uses Java for its examples but it (for the most part) translates well into other languages so it really doesn't matter where you're coming from. It won't teach you how to program so you'd best have that covered already. What it will teach you is how to become better at it.

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Very good!
    Reviewed in Canada on December 13, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 4 out of 5 stars
    Good book about programming best practices
    Reviewed in Canada on March 16, 2024
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    While I don't agree with some of the points the author raises, I do recognize it is very well written and organized. Despite being a technical book, it is an easy read and is it also applicable to real life code. Recommended for both students and seasoned professionals.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Guide to clean coding
    Reviewed in Canada on September 30, 2023
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    It is a good beginner book for improving coding convention. Writing software programs

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Change the way I code
    Reviewed in Canada on March 11, 2021
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Incredible book, I changed completely the way I code. Some of those knowledge you probably have, but you will find motivation and reasons about why you should implement those and much more new knowledge when coding.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    The book is an excellent book for rockie or seasoned programmer
    Reviewed in Canada on March 24, 2018
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The book is an excellent book for rockie or seasoned programmer. I found the author of extensive experience and excellent writing style. Off course, there are some sections in the book where the author emphasis is too much or some of his ideas sound radical but remember his opening of the book, there is no right or wrong in the discipline of clean code.

    5 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Flawless read
    Reviewed in Canada on November 23, 2019
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This author has a flawless way to convey his message. He writes in a way that everyone can understand and his points can easily be applied not only to the programming field but to life in general.

    3 people found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.

Top reviews from other countries

  • 5 out of 5 stars
    Packed with knowledge.
    Reviewed in Germany on January 29, 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    One of the best books on the programming. Absolutely must have. Big bonus is that the book will be very helpful bo matter what is your primary programming language.

    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Excelente libro
    Reviewed in Mexico on September 11, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Excelente libro

    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    Does what it says on the tin
    Reviewed in the United Kingdom on May 3, 2009
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Every so often, a book comes along that codifies best practice in a way that manages to illuminate the path from where things are right now, to a better place that we'd rather be -- things like Fowler et al. Refactoring: Improving the Design of Existing Code (Object Technology Series) or the Gang of Four Design patterns : elements of reusable object-oriented software. This is one of those books. And if much of the material is the sort that seems obvious in hindsight -- well, that is the mark of a well written book, to make the concepts that clear.

    Taking a series of real world examples -- open source projects with significant user bases, including FitNesse and JUnit -- a series of worked examples take us from good, or at least adequate, code, to a form which is better factored, and easier to read, with the steps along the way clearly marked. Yes, even some of Kent Beck's code is put under the microscope, and carefully polished that extra stage or two more.

    The reader is cautioned that, without working long hours to follow these examples, this will be just another of those feel-good books. I don't quite agree -- spending just a little time to follow the transformations, and then reflecting on one's own outpourings should be enough to make this a feel-bad book. All the sins from obscurely named variables to sprawling functions that gaily mix abstraction levels, we've all done them (especially programming in FORTRAN on minicomputers with slow stacks and a rule of thumb that 1 call ~ 40 loc in terms of performance).

    The maxim to take from the book is based on Baden-Powell's "Try and leave this world a little better than you found it", and owes to the same school of thought as "whenever you are in the garden, pull at least one weed". The meat of the book is in distinguishing what are the weeds from the intended crop.

    So read it, understand the examples, and then refer to it often -- like the other titles mentioned, it is a reference work, and should join them as among the most thumbed on your bookshelf.

    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    must read
    Reviewed in the Netherlands on February 14, 2025
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thanks, we’ll investigate in the next few days.
  • 5 out of 5 stars
    This book is worth it for any programming language.
    Reviewed in Australia on March 27, 2021
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    This is a great book. I have found the concepts informative and helpful. I'm glad I decided to get it. As an aid, I listened to the audio book version while I followed along reading it. This made taking notes a dream. I am now on my way to leveling up my programming skills.

    Sending feedback...
    Thanks, we’ll investigate in the next few days.

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?