Shop Harry Potter in 3D
Add Prime to get Fast, Free delivery
Amazon prime logo
Buy new:
-17% $49.99
FREE delivery Sunday, January 12
Ships from: Amazon.com
Sold by: Amazon.com
$49.99 with 17 percent savings
List Price: $59.99
FREE Returns
FREE delivery Sunday, January 12
Or Prime members get FREE delivery Thursday, January 9. Order within 2 hrs.
In Stock
$$49.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$49.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Ships from
Amazon.com
Amazon.com
Ships from
Amazon.com
Sold by
Amazon.com
Amazon.com
Sold by
Amazon.com
Returns
30-day refund/replacement
30-day refund/replacement
This item can be returned in its original condition for a full refund or replacement within 30 days of receipt.
Payment
Secure transaction
Your transaction is secure
We work hard to protect your security and privacy. Our payment security system encrypts your information during transmission. We don’t share your credit card details with third-party sellers, and we don’t sell your information to others. Learn more
$19.98
FREE Returns
Shipped within 24 hours. Clean, undamaged book with no damage to pages and minimal wear to the cover. Spine still tight, in very good condition. Remember if you are not happy, you are covered by our 100% money back guarantee. Shipped within 24 hours. Clean, undamaged book with no damage to pages and minimal wear to the cover. Spine still tight, in very good condition. Remember if you are not happy, you are covered by our 100% money back guarantee. See less
FREE delivery January 17 - 23. Details
In stock
$$49.99 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$49.99
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by Bahamut Media.
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

Follow the authors

Something went wrong. Please try your request again later.

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

4.7 4.7 out of 5 stars 6,393 ratings

{"desktop_buybox_group_1":[{"displayPrice":"$49.99","priceAmount":49.99,"currencySymbol":"$","integerValue":"49","decimalSeparator":".","fractionalValue":"99","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Dsqne5%2Bkdcl7441P2jk0it06X6Hj2bKa5tDa7R%2BUUJGYYiLkActEYOo%2B3fOhfaDd84PxEYUmDUNnFvPNvpNS84e6LqEly1%2FT0XCzOhWaCSDFOKs8wz6H9x0Ei%2FXX6lE8Lgg0lkGuGT4%3D","locale":"en-US","buyingOptionType":"NEW","aapiBuyingOptionIndex":0}, {"displayPrice":"$19.98","priceAmount":19.98,"currencySymbol":"$","integerValue":"19","decimalSeparator":".","fractionalValue":"98","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"Dsqne5%2Bkdcl7441P2jk0it06X6Hj2bKaw%2FPYLfu8eXClbTdFuWlPUdRFWXUegbm863jl%2Bu3S11B5xWK5DlNcjRthGu%2FO1w28%2FxwPhrPRTUn1%2BRIjVQCqiptruttLOLOIdvcI5yFxiDMJVo7tmaZp8tUI0gX3caHBYCXgn2r9s8SQlKoksBgkLg%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

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, who has helped bring agile principles from a practitioner’s point of view to tens of thousands of programmers, 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 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 Codeis 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
  • What “smells” and heuristics can help you identify bad code
This book is a must for any developer, software engineer, project manager, team lead, or systems analyst with an interest in producing better code.

Frequently bought together

This item: Clean Code: A Handbook of Agile Software Craftsmanship
$49.99
Get it as soon as Sunday, Jan 12
In Stock
Ships from and sold by Amazon.com.
+
$52.24
Get it as soon as Sunday, Jan 12
In Stock
Ships from and sold by Amazon.com.
+
$42.81
Get it as soon as Sunday, Jan 12
In Stock
Ships from and sold by Amazon.com.
Total price: $00
To see our price, add these items to your cart.
Details
Added to Cart
spCSRF_Treatment
Choose items to buy together.
Popular Highlights in this book

From the brand


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

A Handbook of Agile Software Craftsmanship Practical advice for the professional programmer Clean Craftsmanship by Bob Martin cover Agile Values and Principles for a New Generation Clean Architecture Grid Cover
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,393
4.6 out of 5 stars
2,195
4.5 out of 5 stars
183
4.7 out of 5 stars
592
4.6 out of 5 stars
3,687
Price $49.99 $38.74 $38.35 $35.16 $37.39
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

Editorial Reviews

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 ‏ : ‎ 0132350882
  • Publisher ‏ : ‎ Pearson; 1st edition (August 1, 2008)
  • Language ‏ : ‎ English
  • Paperback ‏ : ‎ 464 pages
  • ISBN-10 ‏ : ‎ 9780132350884
  • ISBN-13 ‏ : ‎ 978-0132350884
  • Item Weight ‏ : ‎ 1.77 pounds
  • Dimensions ‏ : ‎ 6.8 x 0.9 x 9 inches
  • Customer Reviews:
    4.7 4.7 out of 5 stars 6,393 ratings

About the authors

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

Customer reviews

4.7 out of 5 stars
6,393 global ratings

Review this product

Share your thoughts with other customers

Customers say

Customers find the book easy to understand and useful for coding. They appreciate the collection of best practices and principles for writing clean, organized code. The book provides good value for money and is considered a good refresher. Readers mention that the advice on unit testing, threaded code, and boundry conditions is helpful.

AI-generated from the text of customer reviews

295 customers mention "Readability"281 positive14 negative

Customers find the book easy to read and understand. It provides good guidance on SOLID principles and practices, including strategies, tactics, and idioms for using them effectively. Readers appreciate the clear and concise writing style, saying it's a terrific starting point for producing clean code.

"...developer takes charge of their own education and is constantly improving their skillset, an aspect that Martin covers in The Clean Coder...." Read more

"...The relevance of this book is enormous. Not just the programmers should read it, the education providers should also read it...." Read more

"...The last section of the book is of particular relevance as a starting point for identifying weaknesses or deficiencies in code...." Read more

"This is a critical thinkers book. It gives the reader a basis to use within their own programming style and language of choice...." Read more

134 customers mention "Code structure"125 positive9 negative

Customers find the book provides a good collection of best coding practices and guidelines for writing clean code. They appreciate the clear explanations of principles and concepts at a high level, as well as detailed examples from well-known open source code. The book discusses strategies, tactics, and idioms for using the language.

"...With everyone on the team doing this, the code improves over time and everyone feels responsible for the code whether they wrote it personally or not..." Read more

"...We also learn designs, patterns, good coding practices, and many more. We don't usually spend time to learn how to write a good, readable code...." Read more

"...of Object Oriented Analysis and Design with Applications: "Clean code is simple and direct. Clean code reads like well-written prose...." Read more

"...Though as a general rule of thumb I find the examples helpful and when I mean general rule of thumb I do not mean a specific line count or size but..." Read more

19 customers mention "Value for money"15 positive4 negative

Customers find the book provides good value for money. They say the conventions chapter alone is worth the price, teaching them to write code that costs less to maintain without costing more to write. However, some readers feel the information is average and better elsewhere.

"...I own both the electronic and the hardcover version, and it was money very well spent." Read more

"...then "Clean Code" is probably worth a skim, but it is by no means the book I had hoped it would be." Read more

"...It is definitely worth it. As the book states, it will take sweat to learn to write clean code. This wasn't taught when I went to college...." Read more

"...more money from consulting work or publication, but is disingenuous for practical use." Read more

15 customers mention "Code cleanliness"15 positive0 negative

Customers find the book helpful for writing and refactoring clean code. They appreciate the author's explanation of why keeping code clean is important, and the practical advice on cleaning up code, keeping it simple, and testing it thoroughly. The book covers topics like unit testing, keeping tests simple, and cleaning bad legacy code. Readers appreciate the author's straightforward writing style and mention that the book provides a fantastic tour through basic code hygiene best practices, including reducing duplicate code and combating code rot.

"...up a large function into smaller functions, or cleaning up a conditional for improved clarity...." Read more

"...describes advice from Kent Beck: run all tests, refactoring, no duplication, express intents of the programmer and minize the number of classes and..." Read more

"...I also like how the authors walk you through the exercise of cleaning bad legacy code...." Read more

"...concise methods, it really helps make the code more readable and cleaner...." Read more

15 customers mention "Refresher value"15 positive0 negative

Customers find the book helpful for catching up on things they had forgotten or just hadn't thought about since previous learning. They say it helps them understand OOP better and is a great motivational read. The presentation keeps readers engaged and helps them clear their minds.

"This is a critical thinkers book. It gives the reader a basis to use within their own programming style and language of choice...." Read more

"...But even if that is the case it is still a good refresher course...." Read more

"...I'm rounding up. Much of the information in this books is eye opening, particularly the chapters on functions, classes, and code smells...." Read more

"...By the way, at the same time this can be a good complement to "Refactoring" book, maybe it doesn't bring to too more new information...." Read more

14 customers mention "Advice"10 positive4 negative

Customers find the book helpful for unit testing, threaded code, and boundary conditions. They appreciate the advice on TDD, keeping tests clean, and writing readable, testable code. The book provides great information and helps them understand OO better.

"...The chapter 9 describes advice on unit testing such as TDD, keeping tests clean, one assert per test, single concept per test, etc...." Read more

"...It was refreshing to find a book that emphasized the craft of coding - tests, reusability, comments, logging, decoupling, dependency injection,..." Read more

"...Instead, they just said things like, "Design emerges." Again, shallow moral advice that mostly states the obvious with no additional insight..." Read more

"...This book is not just a bunch of theory about how we should make a program cleaner, it has plenty of examples, and it shows how bad code can..." Read more

11 customers mention "Maintainability"11 positive0 negative

Customers appreciate the book's maintainability. They find the paperback sturdy and in good condition. The content is in-depth, but it requires time and patience to complete.

"...Learn how to avoid them here. Need code that is readable, maintainable, and usable, but seems like an impossibility?..." Read more

"...authors have of writing code that is not only functional but is maintainable...." Read more

"...developers how they can write code that is more readable and maintainable...." Read more

"...can do to change your code from messy and almost unreadable to highly maintainable with improved comprehension, while discovering previously missed..." Read more

103 customers mention "Writing quality"72 positive31 negative

Customers have mixed opinions about the writing quality. Some find the code readable and clear, making it great for intermediate programmers. Others mention that the code snippets are difficult to read and make for a jarring read. The book is described as hard work to learn to write clean code, with the most challenging chapter being refactoring.

"...Code does both, and, like the good code described therein, it’s well written, clear, and easy to read...." Read more

"...Clean code reads like well-written prose...." Read more

"...The contents are NOT common sense and do not come naturally to the uninitiated...." Read more

"...of serious software architecture geeks, with this extraordinary work on writing code well...." Read more

Good, but tightly coupled to Java and starting to age poorly
4 out of 5 stars
Good, but tightly coupled to Java and starting to age poorly
3.5 stars. I'm rounding up.Much of the information in this books is eye opening, particularly the chapters on functions, classes, and code smells. However, a serious problem is that this book is very, very Java-centric, and it is clearly a product of its 2009 copyright date. Many of the chapters have been made moot (PEP8 and Prettier making the formatting chapter largely obsolete, for example), and a few aren't totally applicable to any other language.Note about buying a new, physical version from Amazon: don't. The book will be damaged in shipping as it just comes in a padded envelope and will be dog-eared like a used book before you receive it. See my picture.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on December 29, 2015
    As CTO of a software company I co-founded, I'm not only looking for books that help me improve individually, but also books that the whole development team – from developers to architects – may find useful. Robert C. Martin’s Clean Code does both, and, like the good code described therein, it’s well written, clear, and easy to read. Martin includes many helpful examples and his suggestions are applicable to any programming language.

    Ideally, each developer takes charge of their own education and is constantly improving their skillset, an aspect that Martin covers in The Clean Coder. I view it as an important part of my job to help my team improve. To do so, I distill a lot of written material down to actionable components and provide that to my development team. Concepts from Clean Code have become very helpful guides for them. Below are a few of my favorite takeaways.

    The first is what Martin calls The Boy Scout Rule: “Leave the campground a little cleaner than you found it.” It’s a great concept, not only because it's simple to follow, but also because it has broad applicability and can be used on any project. Essentially, when a team member works on a piece of code, they should aim to improve it somehow by the time their task is finished. A few examples of this among many are: fixing an unclear variable name, breaking up a large function into smaller functions, or cleaning up a conditional for improved clarity. With everyone on the team doing this, the code improves over time and everyone feels responsible for the code whether they wrote it personally or not. Even if something can’t be addressed immediately, developers are encouraged to log the issues they see.

    Another of my favorite takeaways is the Three Laws of TDD, a concept I was able to quickly roll out to the team as a framework to follow for how TDD should be conducted on a project. This virtually ensures that all of your product code has test coverage. It also helps make most of your code SOLID (https://en.wikipedia.org/wiki/SOLID_%28object-oriented_design%29), since code that is built in this fashion is structured with SOLID concepts in mind. This is a must for effective testing.

    Finally, the topics of proper identifier names and commenting really resonated with me and my team. In our company, we tend to “adopt” existing codebases – projects that have already been started by other developers whose code is of widely varying quality. If we're lucky, it's structured well and demonstrates best practices and approaches in how it's constructed. Unfortunately, the code is sloppy at times and requires some TLC to get it in shape. A part of that process is understanding what the existing application does. As Clean Code correctly outlines, many comments are superfluous or even plain wrong and misleading. As a team, we don’t blindly trust the accuracy of existing comments and instead go right to the application’s code to determine what it does. This is where proper naming comes into play. With good names, the code reads like comments or as a narrative of what the application does, nullifying most needs for additional commenting. Simply put, the code comments itself. We also use refactoring tools to improve names and clean up comments as we go. Of course, by doing so, we’re also applying the Boy Scout Rule.

    Overall, Clean Code is a wonderful book with much useful and immediately-applicable information for developers of all levels. If you're looking for a book that will help make you a better developer, this will.
    25 people found this helpful
    Report
  • Reviewed in the United States on September 16, 2017
    As part of our learning activities, we learn quite a few programming languages. We also learn designs, patterns, good coding practices, and many more. We don't usually spend time to learn how to write a good, readable code. The relevance of this book is enormous. Not just the programmers should read it, the education providers should also read it. In fact, the education providers should plan to include this in their curriculum associated with every programming languages.

    I started reading this book and finished it in almost three consecutive sittings. That way, the book is well structured, and the topics are well sequenced. The author cautioned at the beginning of the book that it is not for the armchair readers. The reader should spend adequate effort to read through the code examples, think through those, and try out some of those through self scribbling. This is indeed necessary for the coders. This is also necessary for the instructors of coding, or programming languages. I chose to skim through the examples with just enough thinking while paying attention to every detail of the English text. Such speed reading worked for me too. Such reading technique should work for all who are not into direct coding today, but was a programmer once upon a time, and spends a lot of time in conversing with the programmers nowadays.

    Coming back to the content of the book - this was quite informative and thought provoking. I read it fully and tried to jot down my takeaways from this book reading. I have got six of them.

    I learned the general rules for commenting, and summarized those in four points. I learned the general rules for code formatting, and summarized those in four points. I learned the general practice of code size - for a significant system, for a code file, for a typical function. I learned the general rules of organizing concepts and variables, and summarized those in five points. In fact, the definition of concepts was itself was a new learning for me. I learned the three laws of test driven development, rather I re-learned those once more while reading this book. Finally, I jotted down the final takeaway - leave the code cleaner than what you had started with.

    The book is full of good references, in fact at the end of every chapter. I tried to summarize the list of further readings, and I got another five book titles listed in my to-read list. I read it on my Kindle device, and on my desktop using Amazon Cloud Reader - the formatting was good.

    As coders, we all have the responsibility to leave the code cleaner than what we start with. As code reviewers, we all have the responsibility to comment on the cleanliness of the codes. As the supervisor or manager of coders, we all have the responsibility to communicate the importance of clean coding and to encourage coders towards clean coding. I will recommend to all these group of people to read this book, and practice the clean coding techniques described here.

    Good work indeed!
    5 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • SeekingGood
    5.0 out of 5 stars Very good!
    Reviewed in Canada on December 13, 2024
    Very good!
  • Alisson
    5.0 out of 5 stars Excelente livro
    Reviewed in Brazil on October 16, 2024
    Muito bom, precisa de um tempo para ler. Fundamental
  • Loveen Vasnani
    5.0 out of 5 stars Libro fundamental para los ingenieros
    Reviewed in Spain on November 2, 2024
    El libro es muy bueno y me ha gustado bastante. El contenido es fácil de leer y los ejemplos son claros en la mayoría de las ocasiones. Este libro es de los mas conocidos en el sector y lo recomiendo a todos los que quieran mejorar sus conocimientos en el área
  • The book delivered in two days with a great condition 👍🏻
    5.0 out of 5 stars Amazing
    Reviewed in Saudi Arabia on October 31, 2024
    Delivered in Three days in a great condition!
  • Emre AKA
    5.0 out of 5 stars süper
    Reviewed in Turkey on June 25, 2024
    sağlam şekilde elime ulaştı. teşekkürler