Refactoring: Improving the Design of Existing Code | 被動收入的投資秘訣 - 2024年6月

Refactoring: Improving the Design of Existing Code

作者:Fowler, Martin/ Beck, Kent (CON)
出版社:
出版日期:2018年11月19日
ISBN:9780134757599
語言:繁體中文

"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 refactoringQuickly apply useful refactorings to make a program easier to comprehend and changeRecognize "bad smells" in code that signal opportunities to refactorExplore the refactorings, each with explanations, motivation, mechanics, and simple examplesBuild solid tests for your refactoringsRecognize tradeoffs and obstacles to refactoringIncludes 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.)


Martin Fowler is Chief Scientist at ThoughtWorks. He describes himself as "an author, speaker, consultant and general loud-mouth on software development." Fowler concentrates on designing enterprise software: exploring what makes a good design and what practices are needed to create one.


相關書籍