軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
85折
$281遺留系統重建實戰 (Re-Engineering Legacy Software) -
85折
$281遺留系統重建實戰 (Re-Engineering Legacy Software) -
VIP 95折
Exercises in Programming Style$8,610$8,180 -
79折
打造可維護軟體|編寫可維護程式碼的10項法則 (C#版) (Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code)$450$356 -
79折
打造可維護軟體|編寫可維護程式碼的10項法則 (Java版) (Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code)$450$356 -
VIP 95折
Mastering Scale and Complexity in Software Reuse: 16th International Conference on Software Reuse, ICSR 2017, Salvador, Brazil, May 29-31, 2017, Proceedings (Lecture Notes in Computer Science)$2,410$2,290 -
85折
$199挑戰編程技能 57道程序員功力測試題 (Exercises for Programmers:57 Challenges to Develop Your Coding Skills) -
79折
Effective Debugging 中文版 | 軟體與系統除錯的 66 個具體作法 (Effective Debugging: 66 Specific Ways to Debug Software and Systems) (書況略舊,不介意在下單)$450$356 -
79折
$327代碼不朽:編寫可維護軟件的 10大要則 (Java版) -
$414代碼不朽:編寫可維護軟件的10大要則(C#版) -
79折
$327代碼不朽:編寫可維護軟件的 10大要則 (Java版) -
$354軟件設計重構 -
90折
$788Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code (Paperback) -
78折
我的程式碼會說話 (暢銷回饋版)$260$203 -
90折
$2,052Re-Engineering Legacy Software (Paperback) -
VIP 95折
Coding in Style$840$798 -
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 -
78折
大話重構$390$304 -
75折
$311重構:改善既有代碼的設計 (簡中平裝版) (Refactoring: Improving The Design of Existing Code) -
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 -
$234Software Design(中文版 2) -
$270大話重構 -
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 -
$270會說話的代碼-書寫自表達代碼之道