Refactoring
by Martin Fowler
2020-04-16 20:01:35
"Whenever you read [Refactoring ], itâs time to read it again. And if you havenât read it yet, please do before writing another line of code." âDavid Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp Full...
Read more
"Whenever you read [Refactoring ], itâs time to read it again. And if you havenât read it yet, please do before writing another line of code." âDavid Heinemeier Hansson, Creator of Ruby on Rails, Founder & CTO at Basecamp Fully Revised and UpdatedâIncludes New Refactorings and Code Examples âAny fool can write code that a computer can understand. Good programmers write code that humans can understand.â âM. Fowler (1999) For more than twenty years, experienced programmers worldwide have relied on Martin Fowlerâs Refactoring to improve the design of existing code and to enhance software maintainability, as well as to make existing code easier to understand. This eagerly awaited new edition has been fully updated to reflect crucial changes in the programming landscape. Refactoring, Second Edition, features an updated catalog of refactorings and includes JavaScript code examples, as well as new functional examples that demonstrate refactoring without classes. Like the original, this edition explains what refactoring is; why you should refactor; how to recognize code that needs refactoring; and how to actually do it successfully, no matter what language you use. Understand the process and general principles of refactoring Quickly apply useful refactorings to make a program easier to comprehend and change Recognize âbad smellsâ in code that signal opportunities to refactor Explore the refactorings, each with explanations, motivation, mechanics, and simple examples Build solid tests for your refactorings Recognize tradeoffs and obstacles to refactoring Includes free access to the canonical web edition, with even more refactoring resources. (See inside the book for details about how to access the web edition.)
Less