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.
Follow the authors
OK
Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)
Purchase options and add-ons
Bestselling author Robert C. Martin brings new life and updated code to his beloved Clean Code book
With Clean Code, Second Edition, Robert C. Martin ("Uncle Bob") reinvigorates the classic guide to software craftsmanship with updated insights, broader scope, and enriched content. This new edition--a comprehensive rewrite of the original bestseller--is poised to transform the way developers approach coding, fostering a deeper commitment to the craft of writing clean, flexible, and maintainable code.
The book is divided into four parts: basic coding practices, design principles and heuristics, high-level architecture, and the ethics of craftsmanship. It challenges readers to critically evaluate code quality and reassess their professional values, ultimately guiding them to produce better software. This edition includes expanded coverage of testing disciplines, design and architecture principles, and multiple programming languages.
- Design and architecture principles integrated with coding practices
- Coverage of more languages, including Java, JavaScript, Go, Python, Clojure, C#, and C
- Case studies for practical exercises in code transformation
- Techniques for writing good names, functions, objects, and classes
- Strategies for formatting code for maximum readability
- Comprehensive error handling and testing practices
- Productive use of AI tools for coding
- Soft skills and the ethics of programming
- SOLID principles of software design
- Management of dependencies for flexible and reusable code
- Professional practices and trade-offs in object-oriented design
Clean Code, Second Edition, underscores the importance of evolving software craftsmanship to meet contemporary challenges. Offering a deeper exploration of testing, design, and architecture, alongside universal coding principles applicable across various programming languages, this edition is set to be an indispensable resource for developers, engineers, and project managers. It not only aims to enhance technical skills but also to cultivate a professional ethos that values clean, flexible, and sustainable code.
Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.
- ISBN-100135398576
- ISBN-13978-0135398579
- Edition2nd
- PublisherAddison-Wesley Professional
- Publication dateOctober 18, 2025
- LanguageEnglish
- Dimensions7 x 1.35 x 9.13 inches
- Print length672 pages
Frequently bought together

More items to explore
Design Patterns: Elements of Reusable Object-Oriented SoftwareHardcoverGet it as soon as Tuesday, Jun 30
Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable SystemsPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 24
A Philosophy of Software Design, 2nd EditionPaperbackFREE Shipping on orders over $35 shipped by AmazonGet it as soon as Wednesday, Jun 24
Tour of C++, A (C++ In-Depth Series)PaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 24
Database Internals: A Deep Dive into How Distributed Data Systems WorkPaperbackFREE Shipping by AmazonGet it as soon as Wednesday, Jun 24
Customers also bought or read
- The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$45.97$45.97FREE delivery Wed, Jun 24 - Design Patterns: Elements of Reusable Object-Oriented Software
Hardcover$26.50$26.50Delivery Jun 30 - Jul 5 - Fundamentals of Software Architecture: A Modern Engineering Approach#1 Best SellerComputer Programming Logic
Paperback$52.40$52.40FREE delivery Wed, Jun 24 - Domain-Driven Design: Tackling Complexity in the Heart of Software
Hardcover$52.53$52.53FREE delivery Wed, Jun 24 - Head First Design Patterns: Building Extensible and Maintainable Object-Oriented Software 2nd Edition
Paperback$43.99$43.99FREE delivery Wed, Jun 24 - Grokking Algorithms, Second Edition: An illustrated guide for programmers and other curious people#1 Best SellerComputer Algorithms
Paperback$43.99$43.99FREE delivery Wed, Jun 24 - Release It!: Design and Deploy Production-Ready Software
Paperback$40.36$40.36FREE delivery Wed, Jun 24 - Modern Software Engineering: Doing What Works to Build Better Software Faster
Paperback$34.64$34.64Delivery Wed, Jun 24 - Effective Python: 125 Specific Ways to Write Better Python (Effective Software Development Series)
Paperback$52.80$52.80FREE delivery Wed, Jun 24 - Mythical Man-Month, The: Essays on Software Engineering, Anniversary Edition
Paperback$24.43$24.43Delivery Jul 1 - 6 - Code: The Hidden Language of Computer Hardware and Software#1 Best SellerMicrosoft Programming
Paperback$27.61$27.61Delivery Wed, Jun 24 - Head First Software Architecture: A Learner's Guide to Architectural Thinking
Paperback$53.35$53.35FREE delivery Wed, Jun 24 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Wed, Jun 24 - Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy
Paperback$37.49$37.49FREE delivery Wed, Jun 24 - Think Like a Programmer: An Introduction to Creative Problem Solving
Paperback$22.55$22.55Delivery Jun 27 - Jul 1 - Architecture Patterns with Python: Enabling Test-Driven Development, Domain-Driven Design, and Event-Driven Microservices
Paperback$37.10$37.10FREE delivery Wed, Jun 24 - Software Engineering at Google: Lessons Learned from Programming Over Time
Paperback$34.95$34.95Delivery Wed, Jun 24 - Software Architecture: The Hard Parts: Modern Trade-Off Analyses for Distributed Architectures
Paperback$43.99$43.99FREE delivery Wed, Jun 24 - Operating Systems: Three Easy Pieces#1 Best SellerComputer Operating Systems Theory
Paperback$28.27$28.27Delivery Wed, Jun 24 - Art of Computer Programming, The, Volumes 1-4B, Boxed Set
Hardcover$253.99$253.99FREE delivery Wed, Jun 24 - Agentic Coding with Claude Code: The everyday developer's guide to agentic coding with Claude Code#1 New ReleaseWeb Development & Design Programming
Paperback$49.99$49.99FREE delivery Wed, Jun 24 - Extreme Programming Explained: Embrace Change, 2nd Edition (The XP Series)
Paperback$38.81$38.81FREE delivery Wed, Jun 24
From the Publisher
What can readers expect to learn?
Discover proven techniques for writing clear, maintainable, and efficient code, with practical strategies for refactoring, naming, and structuring functions and classes. Gain insights into identifying and eliminating code smells, fostering collaborative development, and implementing agile principles in daily workflows. Learn how to create robust unit tests, manage dependencies, and build software that stands the test of time—empowering teams to deliver higher-quality solutions with confidence and consistency.
Ideal for software developers, engineers, technical leads, and coders of any experience level committed to elevating code quality and fostering agile practices. Perfect for professionals in enterprise, startup, or open-source environments who value maintainable, efficient, and collaborative software solutions. Also highly relevant for computer science students, educators, and anyone passionate about mastering the principles of clean, professional coding in real-world projects.
The Clean Coder: A Code of Conduct for Professional Programmers
|
We, Programmers: A Chronicle of Coders from Ada to AI (Robert C. Martin Series)
|
Functional Design: Principles, Patterns, and Practices (Robert C. Martin Series)
|
Clean Architecture: A Craftsman's Guide to Software Structure and Design (Rob...
|
Clean Agile: Back to Basics (Robert C. Martin Series)
|
|
|---|---|---|---|---|---|
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
Add to Cart
|
|
| Customer Reviews |
4.6 out of 5 stars 2,281
|
4.3 out of 5 stars 50
|
4.0 out of 5 stars 33
|
4.6 out of 5 stars 4,026
|
4.6 out of 5 stars 627
|
| Price | $24.96$24.96 | $39.99$39.99 | $38.50$38.50 | $30.29$30.29 | $23.22$23.22 |
| Kindle Version | ✓ | ✓ | ✓ | ✓ | ✓ |
About the author
Robert C. Martin (“Uncle Bob”) is a renowned software engineer, consultant, and thought leader with over five decades of experience in the industry. As a co-author of the Agile Manifesto and founder of Uncle Bob Consulting, he has shaped modern software development practices worldwide. Martin’s influential works, including Clean Code, Clean Agile and Clean Architecture, are widely adopted by professionals seeking excellence in code quality and agile methodologies. His dedication to craftsmanship and his engaging presentations have earned him international recognition, making him a trusted authority in software engineering.
Editorial Reviews
Review
Praise for the First Edition of Clean Code
"Clean Code has changed the way I develop and maintain software in so many ways. It defines so well how code should be written, and I have not only learnt much from this book but have also put into practice many of its gems. I can honestly say that having gone on this journey, it is once again a pleasure to develop software and look at code that you are proud to have written."
--Steve Roberts, head of IT
"Reading Clean Code validated my inner sense of how software should be written, while also improving the quality of my work by teaching me things I didn't know. I'm grateful for this book and others by the same author as they remain fundamental prerequisites, even in the age of AI."
--Milos Baic, developer and solution architect
"[Clean Code] was the single most influential thing that I encountered in my career. Provided I was in a team that adhered to it, it took a lot of stress away as the code was suddenly more understandable and thus easier to maintain. To design something with testability in mind eliminated a lot of complexity in design and maintenance. Above all, it made programming feel cozy and fun again. The feeling gets stronger when you move from poor to a cleaner code base."
--Žarko Stojanović, staff software engineer
About the Author
Robert C. Martin (Uncle Bob) has been a programmer and software development expert since 1970. He is founder of Uncle Bob Consulting, LLC, and cofounder with his son Micah Martin of The Clean Coders LLC. Martin has published dozens of articles in various trade journals and is a regular speaker at international conferences and trade shows. He is the author of many books, including Agile Software Development: Principles, Patterns, and Practices; UML for Java Programmers; Clean Code; The Clean Coder; Clean Architecture; Clean Agile; Clean Craftsmanship; and Functional Design. Martin served for three years as editor-in-chief of the C++ Report and as the first chairman of the Agile Alliance.
Product details
- Publisher : Addison-Wesley Professional
- Publication date : October 18, 2025
- Edition : 2nd
- Language : English
- Print length : 672 pages
- ISBN-10 : 0135398576
- ISBN-13 : 978-0135398579
- Item Weight : 2.48 pounds
- Dimensions : 7 x 1.35 x 9.13 inches
- Part of series : Robert C. Martin Series
- Best Sellers Rank: #47,208 in Books (See Top 100 in Books)
- #10 in Software Testing
- #13 in Software Design & Engineering
- #30 in Software Development (Books)
- Customer Reviews:
About the authors

Robert Cecil Martin (colloquially known as Uncle Bob) is an American software engineer and author. He is a co-author of the Agile Manifesto.
Bio from Wikipedia, the free encyclopedeia. Photo by Tim-bezhashvyly (Own work) [CC BY-SA 4.0 (http://creativecommons.org/licenses/by-sa/4.0)], via Wikimedia Commons.

Discover more of the author’s books, see similar authors, read book recommendations and more.
Products related to this item
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
- 5 out of 5 stars
Amazing book
Reviewed in the United States on December 23, 2025This is an amazing book and totally clicked for me. I found Uncle Bob’s writing to be informative, easy to absorb, and entertaining. My only nit pick is that I felt that chapter 23, continuous design, was just a restatement of many of the points from previous chapters and did not really contain new information about design.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Recommended
Reviewed in the United States on December 20, 2025Excellent book, nice additions in this update including some interesting AI insights.
Solid content for a professional software engineer, interesting read.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
FELIZ PORQUE YA TIENE LO QUE NECESITABA Y QUE LOS QUERIA PRONTO
Reviewed in the United States on December 19, 2025MI SOBRINO ESTA ESTUDIANDO PARA HACER ESTA CARRERA Y LOS 3 LIBROS SON PARA EL
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
ange2 out of 5 starsLibro en mal estado
Reviewed in Spain on April 30, 2026El libro presenta marcas de desgaste y arañazos pese a que en la oferta pone que es nuevo.


2 out of 5 starsLibro en mal estado
Reviewed in Spain on April 30, 2026El libro presenta marcas de desgaste y arañazos pese a que en la oferta pone que es nuevo.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Amazon Customer5 out of 5 starsSolid update on writing good code
Reviewed in Singapore on January 14, 2026This edition is a relevant update on the previous one, extending its coverage on how to write good code. The concepts are practical and applicable, and is particularly useful for writing code that others can understand and easily build upon. A worthwhile read for anyone looking to improve their code quality and collaboration.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Asharf Kabir5 out of 5 starsClean code for the devs
Reviewed in the United Kingdom on December 13, 2025Read & learnt a lot from the first edition few years back and now it's time for the second.

5 out of 5 starsClean code for the devs
Reviewed in the United Kingdom on December 13, 2025Read & learnt a lot from the first edition few years back and now it's time for the second.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Krešimir Sabljo4 out of 5 starsDamaged
Reviewed in Germany on January 24, 2026My book is damaged!
I will new one for my collection!


My book is damaged!
I will new one for my collection!
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
Mr H3 out of 5 starsClean code with a dirty print
Reviewed in the United Kingdom on November 15, 2025I have yet to properly discover the content of the book, but I am very disappointed with the quality of the print. The book is not cheap and is riddled with smudged ink from low print quality.
Will update my review once I get to know the book better, however, I don't think this should be acceptable quality for a particular price point, and considering it is not the first edition to be published.
3 out of 5 starsClean code with a dirty print
Reviewed in the United Kingdom on November 15, 2025I have yet to properly discover the content of the book, but I am very disappointed with the quality of the print. The book is not cheap and is riddled with smudged ink from low print quality.
Will update my review once I get to know the book better, however, I don't think this should be acceptable quality for a particular price point, and considering it is not the first edition to be published.
Sending feedback...Thanks, we'll investigate in the next few days.Sorry, We failed to report this review. Please try again
















