





⚡ Code cleaner, ship faster, lead smarter.
Clean Code by Robert C. Martin is a definitive handbook for software professionals seeking to elevate their coding standards through agile principles. With a 4.6-star rating from over 6,500 reviews and top rankings in software design categories, this book offers clear examples and practical advice to help you write maintainable, high-quality code that stands the test of time.





























| ASIN | 0132350882 |
| Best Sellers Rank | 58,045 in Books ( See Top 100 in Books ) 14 in Software Design & Development 15 in Computing & Internet for Professionals 38 in Web Development (Books) |
| Customer reviews | 4.6 4.6 out of 5 stars (6,576) |
| Dimensions | 17.27 x 2.29 x 22.86 cm |
| Edition | 1st |
| ISBN-10 | 9780132350884 |
| ISBN-13 | 978-0132350884 |
| Item weight | 784 g |
| Language | English |
| Part of series | Robert C. Martin Series |
| Print length | 464 pages |
| Publication date | 1 Aug. 2008 |
| Publisher | Pearson |
J**M
Excellent book
This book has changed the way I code, hopefully for the better! Fittingly for a book about clean coding, it is cleanly written with clear examples and case studies.
S**M
Does what it says on the tin
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.
A**C
Everyone must read.
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. 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.
M**N
Book title needs refactoring
This 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.
S**S
Very Useful
The book starts out with a fairly lengthy description of how you should read it and that you shouldn't skip the case studied or you won't learn anything. As a person with limited understanding of Java (I am a PHP developer) I found the case studies very difficult to follow and don't think I got that much out of them. The more general chapters on the other hand were great. Very solid pragmatic advice on naming variables, constructing classes, writing functions and eliminating crap (spurious comments and such). Since reading it I feel as though I'm writing better code and there isn't much better endorsement of a coding book than that. Don't be put off by the fact that this is essentially a Java book - it's full of insights and advice that you can read one night and apply the next day at work to good effect.
A**.
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.
C**A
Excelente libro
U**G
.
G**E
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.
E**A
sağlam şekilde elime ulaştı. teşekkürler
Trustpilot
2 months ago
2 weeks ago