軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
78折
$520$406 -
95折
$1,805Good Code, Bad Code: Think Like a Software Engineer (Paperback) -
85折
$458你真的會寫代碼嗎 -
79折
$580$458 -
VIP 95折
$1,850$1,758 -
85折
$1,998Refactoring at Scale: Regaining Control of Your Codebase -
80折
$1,440Write Great Code, Volume 3: Engineering Software (Paperback) -
85折
$505代碼整潔之道 -
80折
$1,216Seriously Good Software: Code That Works, Survives, and Wins -
85折
$520$442 -
VIP 95折
$479$455 -
78折
$720$562 -
79折
$800$632 -
VIP 95折
$1,600$1,520 -
79折
$469重構 改善既有代碼的設計, 2/e (簡中平裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
79折
$607重構 改善既有代碼的設計 第2版 英文版 -
84折
$849重構 : 改善既有代碼的設計, 2/e (簡中典藏精裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
85折
$403重構:數字化轉型的邏輯 -
85折
$480$408 -
95折
$2,375Refactoring: Improving the Design of Existing Code, 2/e (Hardcover) -
79折
$680$537 -
VIP 95折
$1,600$1,520 -
85折
$230這樣編碼才規範 128個編碼好習慣 -
80折
$1,280Software Development, Design and Coding: With Patterns, Debugging, Unit Testing, and Refactoring -
VIP 95折
$1,030$979 -
95折
$314遺留系統重建實戰 (Re-Engineering Legacy Software) -
95折
$314遺留系統重建實戰 (Re-Engineering Legacy Software) -
79折
$450$356 -
79折
$450$356 -
85折
$199挑戰編程技能 57道程序員功力測試題 (Exercises for Programmers:57 Challenges to Develop Your Coding Skills)