Your Amazon Prime 30-day FREE trial includes:
Delivery Options | ![]() |
Without Prime |
---|---|---|
Standard Delivery | FREE delivery | From £2.99* |
Premium Delivery | FREE delivery | £4.99/delivery |
Same-Day Delivery (on eligible orders over £20 to selected postcodes) Details | FREE delivery | £5.99/delivery |
Unlimited Premium Delivery is available to Amazon Prime members. To join, select "Yes, I want a free trial with FREE Premium Delivery on this order." above the Add to Basket button and confirm your Amazon Prime free trial sign-up.
Important: Your credit card will NOT be charged when you start your free trial or if you cancel during the trial period. If you're happy with Amazon Prime, do nothing. At the end of the free trial, you will be charged £95/year for Prime (annual) membership or £8.99/month for Prime (monthly) membership.
Buy new:
£39.35£39.35
Dispatches from: Amazon Sold by: Amazon
Save with Used - Very Good
£26.97£26.97
Dispatches from: Greener_Books Sold by: Greener_Books

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) (Robert C. Martin Series) Paperback – 1 Aug. 2008
Purchase options and add-ons
- ISBN-109780132350884
- ISBN-13978-0132350884
- Edition1st
- PublisherPrentice Hall
- Publication date1 Aug. 2008
- LanguageEnglish
- Dimensions17.27 x 2.29 x 22.86 cm
- Print length464 pages
Frequently bought together

More items to explore
- Functions should either do something or answer something, but not both.Highlighted by 3,369 Kindle readers
- The proper use of comments is to compensate for our failure to express ourself in code.Highlighted by 3,010 Kindle readers
- FUNCTIONS SHOULD DO ONE THING. THEY SHOULD DO IT WELL. THEY SHOULD DO IT ONLY.Highlighted by 2,641 Kindle readers
From the brand

-
We add life to a lifetime of learning.
Our vision is to help everyone to realise the life they imagine through learning.
We use our knowledge, experience and technology to deliver the best learning products.
-
Who are our authors?
Our authors are the creators, innovators and thought leaders including Donald Knuth, Bjarne Stroustrup, Brendan Gregg, Martin Fowler, Robert C. Martin.
Are our books for professionals only?
Our catalogue includes tutorials, references, guides and deep dives for all levels from beginners with no experience to industry professionals wanting to upskill.
Why choose Pearson?
We have been publishing the leading texts for decades and our titles appear on numerous "most recommended" lists.
-
Shop Pearson Computing Books
-
Addison-Wesley is for those working with technology.
This includes resources for programmers, developers, administrators, data scientists and engineers, team managers, students, and more.
-
Project-based learning designed to help you learn the features of Adobe software quickly and easily.
Developed with the support of Adobe product experts.
-
Authorized book publisher of Cisco networking technology, Cisco certification self-study and Cisco Networking Academy Program materials.
Products from Cisco Press are part of a recommended learning path from Cisco Systems that combines instructor-led training with hands-on instruction, e-learning, and self-study.
-
FT Publishing covers business, finance, and professional development topics and cater to those at all levels in their career.
-
Microsoft Press is a publishing alliance between Microsoft Corporation and Pearson.
Since 1984, Microsoft Press has helped IT professionals, developers, and home office users advance their technical skills and knowledge with books and learning resources.
-
Practical advice on the tools you need to enhance your personal and professional life.
Easy-to-follow resources on gadgets and technologies.
From the Publisher
![]()
A Handbook of Agile Software Craftsmanship
|
![]()
Practical Advice for the Professional Programmer
|
![]()
A Craftsman's Guide to Software Structure and Design
|
![]()
Professionalism, Pragmatism, Pride
|
![]()
Agile values and principles for a whole new generation of developers
|
|
---|---|---|---|---|---|
Customer Reviews |
4.6 out of 5 stars 6,366
|
4.6 out of 5 stars 2,187
|
4.6 out of 5 stars 3,727
|
4.6 out of 5 stars 428
|
4.7 out of 5 stars 595
|
Price | £39.35£39.35 | £33.23£33.23 | £29.97£29.97 | £26.59£26.59 | £29.41£29.41 |
Core Concept | Best agile practices of cleaning code “on the fly” that will instill within you the values of a software craftsman and make you a better programmer—but only if you work at it. | Robert C. Martin introduces the disciplines, techniques, tools, and practices of true software craftsmanship. This book is packed with practical advice–about everything from estimating and coding to refactoring and testing. | Uncle Bob presents the universal rules of software architecture that will help you dramatically improve developer productivity throughout the life of any software system. | Sandro Mancuso helped found the world’s largest organization of software craftsmen; now, he shares what he’s learned through inspiring examples and pragmatic advice you can use in your company, your projects, and your career. | As with his other books, Martin's Clean Agile: Back to Basics doesn't merely present multiple choices and options, and say "use your best judgment"; it tells you what choices to make and why those choices are critical to your success. |
Endoresement | "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 | “Read, learn, and live the lessons in this book and you can accurately call yourself a software professional.” —George Bullock Senior Program Manager Microsoft Corp. | "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 | "If you are the type of programmer, team lead, or manager who craves to be able to go home after a long day of work, look in the mirror, and say, 'Damn, I did a good job today!' then this is the book for you." -- Robert C. Martin | “In the journey to all things Agile, Uncle Bob has been there, done that, and has the both the t-shirt and the scars to show for it. This delightful book is part history, part personal stories, and all wisdom." |
Product description
Review
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
--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
--From the Back Cover
From the Back Cover
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
About the Author
Product details
- ASIN : 0132350882
- Publisher : Prentice Hall; 1st edition (1 Aug. 2008)
- Language : English
- Paperback : 464 pages
- ISBN-10 : 9780132350884
- ISBN-13 : 978-0132350884
- Dimensions : 17.27 x 2.29 x 22.86 cm
- Best Sellers Rank: 14,297 in Books (See Top 100 in 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.
I run the engineering organization in IBM Research that is building "accelerated science" and digital health services. Previously, I developed Scala software at Lightbend and Domino Data Lab, and I helped spread the word about Ray at Anyscale. Besides Scala, my expertise includes MLOps, data systems, and the full software development lifecycle. I am also the author of several books:
-- "Programming Scala, Third Edition", a practical book for experienced software developers that introduces this important, modern programming language.
-- "Programming Hive", a comprehensive guide to Hive, the SQL tool for Hadoop (coauthors: Ed Capriolo and Jason Rutherglen).
-- "Functional Programming for Java Developers", a succinct introduction for Java developers to the concepts of functional programming, where I motivate its importance and demonstrate how to use FP concepts in Java programs.
-- I contributed to Robert Martin's classic, "Clean Code: A Handbook of Agile Software Craftsmanship"
You can find out more about me at these web sites:
-- http://deanwampler.com: My personal home page.
-- http://polyglotprogramming.com: Presentations, white papers, etc.
-- https://deanwampler.medium.com: My blog.
-- https://linkedin.com/in/deanwampler: Career
Social:
-- https://twitter.com/deanwampler
-- https://discuss.systems/@deanwampler
-- https://post.news/@deanwampler
My main hobby, photography:
-- https://www.flickr.com/photos/deanwampler/
-- https://glass.photo/bucktrends
-- https://vero.co/bucktrends
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 analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Customers find the book to be a must-read for programmers, helping them improve the quality of their code. Moreover, the book is full of insights and advice, with one customer noting that concepts are explained accurately with plenty of examples. Additionally, customers consider the book worth its price.
AI-generated from the text of customer reviews
Select to learn more
Customers find the book highly readable, describing it as a must-read for programmers that teaches how to develop good code and improve software quality.
"...at least adequate, code, to a form which is better factored, and easier to read, with the steps along the way clearly marked...." Read more
"So good. So easy formulated. So useful. A lot of things are so obvious, but for some reason not many developers are following such elementary rules...." Read more
"...That said, I should re-iterate that this book will be hugely valuable to any programmer...." Read more
"...Following these, will help you write cleaner code that is easier to read and understand using less mental capacity, which will in turn allows your..." Read more
Customers find the book full of insights and advice, with good common sense content and plenty of tips. One customer notes that the concepts are explained accurately with numerous examples.
"...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." Read more
"So good. So easy formulated. So useful. A lot of things are so obvious, but for some reason not many developers are following such elementary rules...." Read more
"...help you write cleaner code that is easier to read and understand using less mental capacity, which will in turn allows your brain to be fresher for..." Read more
"...I actually enjoyed reading this book and I think the authors teach a lot of good lessons...." Read more
Customers find the book worth its price.
"...The chapter on comments is worth the price of the book alone...." Read more
"Good value and quality I recommend it." Read more
"...What more need I say, an excellent book and worth every penny. Delivered and well packed as you would expect from Amazon." Read more
"Great value for the money...." Read more
Reviews with images

Absolutely worth it
Top reviews from United Kingdom
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United Kingdom on 3 May 2009Every 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.
- Reviewed in the United Kingdom on 1 November 2023So good. So easy formulated. So useful. A lot of things are so obvious, but for some reason not many developers are following such elementary rules. Highly recommend to read, and doesn't metter if you experienced developer or just begginer. I also wish this book to be translated on indian languages. Guys, I very much like you. We are very close mentally. I have a lot of indian friends due to proffession. But, the way you coding is .... pleas, please, please - read this book.
- Reviewed in the United Kingdom on 3 December 2024The book was for my nephew and he loved
- Reviewed in the United Kingdom on 27 October 2008This is a great book, and one which any developer will learn a great deal from. In most respects, it is a five-star book, but... the title is misleading. By rights it should be called "Clean Java Code".
Let me explain: I am an ActionScript developer, and bought this book to improve my code style and structure. For the most part, it has done that: the chapters on naming, comments, functions and classes are absolutely superb. But then, huge swathes of the book are devoted exclusively to Java, and use some fairly complex (and, in my opinion, not very well formatted) code to convey their intention.
I don't generally have a problem with using Java-oriented books to learn more general programming concepts (Martin Fowler's "Refactoring" and O'Reilly's Head-First Design Patterns are both books I would recommend to anyone, regardless of their language-of-choice), but around 1/3rd of Bob Martin's book is virtually impenetrable to anyone who does not already have significant Java experience.
That said, I should re-iterate that this book will be hugely valuable to any programmer. I just wish that they had tried to use a little more pseudo-code and a little less real-world examples, with all of the complexities entailed, and I think a lot could have been done to make the Java code more readable for users of other languages.
- Reviewed in the United Kingdom on 19 April 2021Seriously, EVERYONE learning to code or anyone in the software engineering industry MUST read this book and learn the principles by which all programs should be made thinking on.
I'm not saying every single principle described in the book is applicable to absolutely all scenarios, but the big majority of them are.
Following these, will help you write cleaner code that is easier to read and understand using less mental capacity, which will in turn allows your brain to be fresher for other tasks like refactoring. It will also help in communicating more effectively with your colleagues having a common framework to work on and make easier to pass on the knowledge to other colleagues.
Top reviews from other countries
-
Arnoldo CervantesReviewed in Mexico on 4 July 2020
5.0 out of 5 stars Excelente libro sin importar tu nivel de experiencia
Tengo más de 8 años de experiencia como ingeniero en software y a pesar de eso, no puedo dejar de recomendar este libro. Es simplemente demasiado bueno, no sólo en enseñarte reglas que te ayudarán a tener un código más limpio y fácil de extender, sino también para recordarte esos puntos que quizás fuiste dejando atrás con el tiempo, ya sea porque tu empresa no lo exige, porque en algún proyecto la presión no permitió que las cosas se hicieran de la manera correcta o simplemente porque cuando lo viste la primera vez no le prestaste importancia, pero la misma experiencia te enseñó a valorar más esos consejos. No importa cual sea el motivo o tu nivel, no deja de ser un excelente libro que todo ingeniero en software debe leer.
-
Alexander E.Reviewed in Germany on 13 April 2025
5.0 out of 5 stars Hat mir persönlich sehr gut gefallen
Ein Muss für jeden, der besser programmieren will – nicht nur für Anfänger
„Clean Code“ hat mir persönlich sehr gut gefallen und ich würde es jedem empfehlen, der sich ernsthaft mit Softwareentwicklung beschäftigt – egal ob Anfänger oder erfahrener Entwickler.
Als Ergänzung beim Programmieren lernen:
Gerade wenn man neu ins Programmieren einsteigt, ist das Buch eine perfekte Ergänzung, weil es nicht nur zeigt, was man programmieren soll, sondern wie man es sauber und verständlich macht. Es geht weit über Syntax und Sprache hinaus und behandelt die Prinzipien guten Codes – etwas, das in vielen Kursen oft zu kurz kommt.
Auch für Fortgeschrittene absolut lesenswert:
Auch wenn man schon programmieren kann, lohnt sich die Lektüre. Das Buch hilft, schlechte Angewohnheiten zu erkennen und zu reflektieren, die sich im Laufe der Zeit eingeschlichen haben. Es geht dabei nicht um theoretische Regeln, sondern um praktische, nachvollziehbare Beispiele und konkrete Tipps, die man direkt umsetzen kann.
Fazit:
„Clean Code“ sollte jeder Programmierer kennen und gelesen haben. Es hat mir geholfen, meinen Code strukturierter, lesbarer und verständlicher zu schreiben – was nicht nur mir, sondern auch meinen Kollegen zugutekommt. Absolute Empfehlung für alle, die sauberen, wartbaren Code schreiben wollen – ein echter Klassiker der Softwareentwicklung.
- TonesReviewed in Australia on 30 June 2023
5.0 out of 5 stars Great for beginners dealing with legacy code
This book focuses primarily on writing software on the assumption that you're using a fully fledged OOP language. It also discusses things that could be compromised on and what absolutely shouldn't when you're time constrained.
Use it as a guideline but don't follow it religiously. There are modern concepts that have diverged from some of the practices used in this book and for very good reason. However, if you're writing in C++, C#, or Java, then the majority of this book still applies.
-
Cliente AmazonReviewed in Italy on 28 January 2025
5.0 out of 5 stars For software artisans with love ❤️
Un libro che ti apre la mente. Se anche tu come artigiano del software vuoi migliorare il tuo codice e la tua capacità progettuale, in termini di efficienza, manutenibilità e organizzazione del codice, questo libro fa al caso tuo.
- User name im usingReviewed in the Netherlands on 14 February 2025
5.0 out of 5 stars must read