軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
VIP 95折
Zero Bugs and Program Faster$880$836 -
VIP 95折
Continuous Architecture: Sustainable Architecture in an Agile and Cloud-Centric World (Paperback)$2,180$2,071 -
VIP 95折
Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software (Paperback)$1,500$1,425 -
27折
$399Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs (Paperback) -
VIP 95折
Finally... Reliable Software!: A practical approach to design for reliability$1,610$1,530 -
VIP 95折
Refactoring for Software Design Smells: Managing Technical Debt (Paperback)$2,550$2,423 -
VIP 95折
The Mikado Method (Paperback)$1,485$1,411 -
VIP 95折
Model-Driven Software Migration: A Methodology: Reengineering, Recovery and Modernization of Legacy Systems$5,370$5,102 -
VIP 95折
Evolving Software Systems$4,500$4,275 -
VIP 95折
Software Exorcism: A Handbook for Debugging and Optimizing Legacy Code$1,230$1,169 -
VIP 95折
Reengineering .NET: Injecting Quality, Testability, and Architecture into Existing Systems (Paperback)$1,650$1,568 -
VIP 90折
The Art of Readable Code (Paperback)$1,710$1,620 -
VIP 95折
Static Analysis of Software: The Abstract Interpretation (Hardcover)$6,180$5,871 -
VIP 95折
The Clean Coder: A Code of Conduct for Professional Programmers (Paperback)$1,850$1,758 -
80折
$1,320Managing Software Debt: Building for Inevitable Change (Hardcover) -
80折
$1,488Managing Software Debt: Building for Inevitable Change (Paperback) -
VIP 95折
Refactoring with Microsoft Visual Studio 2010$2,220$2,109 -
VIP 95折
Flexible, Reliable Software: Using Patterns and Agile Development (Hardcover)$2,780$2,641 -
VIP 95折
Refactoring in Ruby (Paperback)$1,575$1,496 -
VIP 95折
Refactoring: Ruby Edition: Ruby Edition (Addison-Wesley Professional Ruby Series)$2,040$1,938 -
VIP 95折
Growing Object-Oriented Software, Guided by Tests (Paperback)$2,160$2,052 -
80折
$2,024Why Programs Fail, 2/e: A Guide to Systematic Debugging (Paperback) -
60折
$1,188Professional Refactoring in C# & ASP.NET (Paperback) -
50折
$825Refactoring SQL Applications (污漬) -
60折
$1,188Clean Code: A Handbook of Agile Software Craftsmanship (Paperback) -
VIP 95折
Object-Oriented Reengineering Patterns$1,550$1,473 -
80折
$1,488Emergent Design: The Evolutionary Nature of Professional Software Development (Hardcover) -
VIP 95折
Effective Software Maintenance and Evolution: A Reuse-Based Approach$5,940$5,643 -
VIP 95折
Transactional Memory$1,830$1,739 -
VIP 95折
Refinement Techniques in Software Engineering: First Pernambuco Summer School on Software Engineering, Psse 2004, Recife, Brazil, November 23-December$2,410$2,290