軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
VIP 95折
Coding in Style$870$826 -
VIP 95折
Zero Bugs and Program Faster$910$864 -
VIP 95折
Continuous Architecture: Sustainable Architecture in an Agile and Cloud-Centric World (Paperback)$2,180$2,071 -
95折
$1,425Beyond Legacy Code: Nine Practices to Extend the Life (and Value) of Your Software (Paperback) -
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,670$1,586 -
60折
$1,530Refactoring for Software Design Smells: Managing Technical Debt (Paperback) -
VIP 95折
The Mikado Method (Paperback)$1,485$1,410 -
VIP 95折
Model-Driven Software Migration: A Methodology: Reengineering, Recovery and Modernization of Legacy Systems$5,560$5,282 -
VIP 95折
Evolving Software Systems$4,650$4,417 -
VIP 95折
Software Exorcism: A Handbook for Debugging and Optimizing Legacy Code$1,210$1,149 -
VIP 95折
Reengineering .NET: Injecting Quality, Testability, and Architecture into Existing Systems (Paperback)$1,650$1,567 -
90折
$1,485The Art of Readable Code (Paperback) -
VIP 95折
Static Analysis of Software: The Abstract Interpretation (Hardcover)$5,200$4,940 -
VIP 95折
The Clean Coder: A Code of Conduct for Professional Programmers (Paperback)$1,980$1,881 -
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,300$2,185 -
VIP 95折
Flexible, Reliable Software: Using Patterns and Agile Development (Hardcover)$3,150$2,992 -
60折
$945Refactoring in Ruby (Paperback) -
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) -
10折
$199Professional Refactoring in C# & ASP.NET (Paperback) -
50折
$825Refactoring SQL Applications (污漬) -
60折
$1,368Clean Code: A Handbook of Agile Software Craftsmanship (Paperback) -
VIP 95折
Object-Oriented Reengineering Patterns$1,600$1,520 -
80折
$1,488Emergent Design: The Evolutionary Nature of Professional Software Development (Hardcover) -
VIP 95折
Effective Software Maintenance and Evolution: A Reuse-Based Approach$6,790$6,450 -
VIP 95折
Transactional Memory$1,890$1,795