軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
80折
$1,280Software Development, Design and Coding: With Patterns, Debugging, Unit Testing, and Refactoring -
VIP 95折
Source Code Modularization: Theory and Techniques$2,490$2,365 -
VIP 95折
Understanding Software$1,030$978 -
85折
$280遺留系統重建實戰 (Re-Engineering Legacy Software) -
85折
$280遺留系統重建實戰 (Re-Engineering Legacy Software) -
VIP 95折
Exercises in Programming Style$8,370$7,951 -
79折
打造可維護軟體|編寫可維護程式碼的10項法則 (C#版) (Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code)$450$355 -
79折
打造可維護軟體|編寫可維護程式碼的10項法則 (Java版) (Building Maintainable Software, Java Edition: Ten Guidelines for Future-Proof Code)$450$355 -
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,490$2,365 -
85折
$198挑戰編程技能 57道程序員功力測試題 (Exercises for Programmers:57 Challenges to Develop Your Coding Skills) -
79折
Effective Debugging 中文版 | 軟體與系統除錯的 66 個具體作法 (書況略舊,不介意再下單)$450$355 -
79折
$327代碼不朽:編寫可維護軟件的 10大要則 (Java版) -
$414代碼不朽:編寫可維護軟件的10大要則(C#版) -
79折
$327代碼不朽:編寫可維護軟件的 10大要則 (Java版) -
$354軟件設計重構 -
60折
$525Building Maintainable Software, C# Edition: Ten Guidelines for Future-Proof Code (Paperback) -
85折
我的程式碼會說話 (暢銷回饋版)$260$221 -
90折
$2,052Re-Engineering Legacy Software (Paperback) -
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) -
78折
大話重構$390$304 -
50折
$207重構:改善既有代碼的設計 (簡中平裝版) (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,670$1,586 -
60折
$1,530Refactoring for Software Design Smells: Managing Technical Debt (Paperback) -
$234Software Design(中文版 2) -
$270大話重構 -
VIP 95折
The Mikado Method (Paperback)$1,485$1,410