軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
80折
$1,260Refactoring Legacy T-SQL for Improved Performance: Modern Practices for SQL Server Applications -
85折
$305邊緣計算 5G時代的商業變革與重構 -
75折
$720$540 -
79折
$800$632 -
79折
$469重構 改善既有代碼的設計, 2/e (簡中平裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
82折
$831重構 : 改善既有代碼的設計, 2/e (簡中典藏精裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
85折
$403重構:數字化轉型的邏輯 -
79折
$480$379 -
95折
$2,375Refactoring: Improving the Design of Existing Code, 2/e (Hardcover) -
79折
$680$537 -
79折
$280碎片與重構2:面向智能時代的學習 -
85折
$352SDN/NFV 重構網絡架構 建設未來網絡 -
80折
$1,280Software Development, Design and Coding: With Patterns, Debugging, Unit Testing, and Refactoring -
95折
$314遺留系統重建實戰 (Re-Engineering Legacy Software) -
90折
$1,485Refactoring JavaScript: Turning Bad Code Into Good Code -
79折
$450$356 -
95折
$393重構網絡:SDN 架構與實現 -
90折
$972CSS Refactoring: Architect Your Stylesheets for Success (Paperback) -
79折
$236VR虛擬現實:重構用戶體驗與商業新生態 -
85折
$352代碼不朽:編寫可維護軟件的 10大要則 (Java版) -
79折
$232重構物聯網的未來:探索智聯萬物新模式 -
85折
$755圖像重構的數值方法(精) -
78折
$390$304 -
75折
$311重構:改善既有代碼的設計 (簡中平裝版) (Refactoring: Improving The Design of Existing Code) -
VIP 95折
$2,550$2,423 -
95折
$450重構與模式 (Refactoring to Patterns) -
VIP 95折
$1,575$1,496 -
VIP 95折
$2,040$1,938 -
60折
$1,188Professional Refactoring in C# & ASP.NET (Paperback) -
50折
$825Refactoring SQL Applications (污漬)