Items related to Clean Code: A Handbook of Agile Software Craftsmanship

Clean Code: A Handbook of Agile Software Craftsmanship - Softcover

 
9780132350884: Clean Code: A Handbook of Agile Software Craftsmanship
View all copies of this ISBN edition:
 
 
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.

"synopsis" may belong to another edition of this title.

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.
Excerpt. © Reprinted by permission. All rights reserved.:

Which door represents your code? Which door represents your team or your company? Why are we in that room? Is this just a normal code review or have we found a stream of horrible problems shortly after going live? Are we debugging in a panic, poring over code that we thought worked? Are customers leaving in droves and managers breathing down our necks? How can we make sure we wind up behind the right door when the going gets tough? The answer is: craftsmanship.

There are two parts to learning craftsmanship: knowledge and work. You must gain the knowledge of principles, patterns, practices, and heuristics that a craftsman knows, and you must also grind that knowledge into your fingers, eyes, and gut by working hard and practicing.

I can teach you the physics of riding a bicycle. Indeed, the classical mathematics is relatively straightforward. Gravity, friction, angular momentum, center of mass, and so forth, can be demonstrated with less than a page full of equations. Given those formulae I could prove to you that bicycle riding is practical and give you all the knowledge you needed to make it work. And you'd still fall down the first time you climbed on that bike.

Coding is no different. We could write down all the "feel good" principles of clean code and then trust you to do the work (in other words, let you fall down when you get on the bike), but then what kind of teachers would that make us, and what kind of student would that make you?

No. That's not the way this book is going to work.

Learning to write clean code is hard work. It requires more than just the knowledge of principles and patterns. You must sweat over it. You must practice it yourself, and watch yourself fail. You must watch others practice it and fail. You must see them stumble and retrace their steps. You must see them agonize over decisions and see the price they pay for making those decisions the wrong way.

Be prepared to work hard while reading this book. This is not a "feel good" book that you can read on an airplane and finish before you land. This book will make you work, and work hard. 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. You'll be asked to follow along as we take modules apart and put them back together again. This will take time and effort; but we think it will be worth it.

We have divided this book into three parts. The first several chapters describe the principles, patterns, and practices of writing clean code. There is quite a bit of code in these chapters, and they will be challenging to read. They'll prepare you for the second section to come. If you put the book down after reading the first section, good luck to you!

The second part of the book is the harder work. It consists of several case studies of ever-increasing complexity. Each case study is an exercise in cleaning up some code--of transforming code that has some problems into code that has fewer problems. The detail in this section is intense. You will have to flip back and forth between the narrative and the code listings. You will have to analyze and understand the code we are working with and walk through our reasoning for making each change we make. Set aside some time because this should take you days.

The third part of this book is the payoff. It is a single chapter containing a list of heuristics and smells gathered while creating the case studies. As we walked through and cleaned up the code in the case studies, we documented every reason for our actions as a heuristic or smell. We tried to understand our own reactions to the code we were reading and changing, and worked hard to capture why we felt what we felt and did what we did. The result is a knowledge base that desribes the way we think when we write, read, and clean code.

This knowledge base is of limited value if you don't do the work of carefully reading through the case studies in the second part of this book. In those case studies we have carefully annotated each change we made with forward references to the heuristics. These forward references appear in square brackets like this: H22. This lets you see the context in which those heuristics were applied and written! It is not the heuristics themselves that are so valuable, it is the relationship between those heuristics and the discrete decisions we made while cleaning up the code in the case studies.

To further help you with those relationships, we have placed a cross-reference at the end of the book that shows the page number for every forward reference. You can use it to look up each place where a certain heuristic was applied.

If you read the first and third sections and skip over the case studies, then you will have read yet another "feel good" book about writing good software. But if you take the time to work through the case studies, following every tiny step, every minute decision--if you put yourself in our place, and force yourself to think along the same paths that we thought, then you will gain a much richer understanding of those principles, patterns, practices, and heuristics. They won't be "feel good" knowledge any more. They'll have been ground into your gut, fingers, and heart. They'll have become part of you in the same way that a bicycle becomes an extension of your will when you have mastered how to ride it.

"About this title" may belong to another edition of this title.

  • PublisherPearson
  • Publication date2008
  • ISBN 10 0132350882
  • ISBN 13 9780132350884
  • BindingPaperback
  • Edition number1
  • Number of pages464
  • Rating

Other Popular Editions of the Same Title

9788131773383: Clean Code: A Handbook of Agile Software Craftsman

Featured Edition

ISBN 10:  8131773388 ISBN 13:  9788131773383
Publisher: Pearson Education
Unknown Binding

  • 9787115210487: Clean Code - A Handbook Of Agile Software Craftsmanship

    Prenti..., 2009
    Softcover

Top Search Results from the AbeBooks Marketplace

Seller Image

Robert Martin
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Paperback First Edition Quantity: 1
Seller:
Grand Eagle Retail
(Wilmington, DE, U.S.A.)

Book Description Paperback. Condition: new. Paperback. You will be challenged to think about what's right about that codeEven bad code can function. But if code isn't clean, it can bring a development organisation 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 distil their best agile practice of cleaning code 'on the fly' into a book that will instil 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 Subtitled, "A Handbook Of Agile Software Craftmanship". Shipping may be from multiple locations in the US or from the UK, depending on stock availability. Seller Inventory # 9780132350884

More information about this seller | Contact seller

Buy New
US$ 49.99
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Softcover Quantity: > 20
Seller:
California Books
(Miami, FL, U.S.A.)

Book Description Condition: New. Seller Inventory # I-9780132350884

More information about this seller | Contact seller

Buy New
US$ 50.00
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Paperback Quantity: 1
Seller:
GoldenWavesOfBooks
(Fayetteville, TX, U.S.A.)

Book Description Paperback. Condition: new. New. Fast Shipping and good customer service. Seller Inventory # Holz_New_0132350882

More information about this seller | Contact seller

Buy New
US$ 46.24
Convert currency

Add to Basket

Shipping: US$ 4.00
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Softcover Quantity: 1
Seller:
Ebooksweb
(Bensalem, PA, U.S.A.)

Book Description Condition: New. . Seller Inventory # 52GZZZ010VQI_ns

More information about this seller | Contact seller

Buy New
US$ 50.94
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Softcover Quantity: 1
Seller:
Book Deals
(Tucson, AZ, U.S.A.)

Book Description Condition: New. New! This book is in the same immaculate condition as when it was published. Seller Inventory # 353-0132350882-new

More information about this seller | Contact seller

Buy New
US$ 55.83
Convert currency

Add to Basket

Shipping: FREE
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
ISBN 10: 0132350882 ISBN 13: 9780132350884
New paperback Quantity: > 20
Seller:
Blackwell's
(London, United Kingdom)

Book Description paperback. Condition: New. Language: ENG. Seller Inventory # 9780132350884

More information about this seller | Contact seller

Buy New
US$ 50.23
Convert currency

Add to Basket

Shipping: US$ 5.63
From United Kingdom to U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Soft cover First Edition Quantity: 1
Seller:
PhinsPlace
(Grand Rapids, MI, U.S.A.)

Book Description Soft cover. Condition: New. 1st Edition. Seller Inventory # ABE-1640963668972

More information about this seller | Contact seller

Buy New
US$ 49.99
Convert currency

Add to Basket

Shipping: US$ 6.99
Within U.S.A.
Destination, rates & speeds
Seller Image

Martin, Robert C.
Published by PRENTICE-HALL (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Softcover Quantity: 1
Seller:
AG Library
(Malaga, Spain)

Book Description Condition: New. Idioma/Language: Inglés. 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. *** Nota: Los envíos a España peninsular, Baleares y Canarias se realizan a través de mensajería urgente. No aceptamos pedidos con destino a Ceuta y Melilla. Seller Inventory # 1456661

More information about this seller | Contact seller

Buy New
US$ 48.30
Convert currency

Add to Basket

Shipping: US$ 15.66
From Spain to U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Paperback Quantity: 1
Seller:
GoldBooks
(Denver, CO, U.S.A.)

Book Description Paperback. Condition: new. New Copy. Customer Service Guaranteed. Seller Inventory # think0132350882

More information about this seller | Contact seller

Buy New
US$ 60.64
Convert currency

Add to Basket

Shipping: US$ 4.25
Within U.S.A.
Destination, rates & speeds
Stock Image

Robert C. Martin
Published by Pearson (2008)
ISBN 10: 0132350882 ISBN 13: 9780132350884
New Softcover Quantity: > 20
Seller:
Ria Christie Collections
(Uxbridge, United Kingdom)

Book Description Condition: New. In. Seller Inventory # ria9780132350884_new

More information about this seller | Contact seller

Buy New
US$ 53.17
Convert currency

Add to Basket

Shipping: US$ 12.48
From United Kingdom to U.S.A.
Destination, rates & speeds

There are more copies of this book

View all search results for this book