軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
VIP 95折
Demystified Object-Oriented Programming with C++: Implement proven object-oriented design principles to write better code and create robust software$1,710$1,624 -
VIP 95折
Clean Code in Python : Develop maintainable and efficient code, 2/e (Paperback)$1,830$1,738 -
80折
$1,880Refactoring at Scale: Regaining Control of Your Codebase -
VIP 95折
Search-Based Software Engineering: 12th International Symposium, Ssbse 2020, Bari, Italy, October 7-8, 2020, Proceedings$3,610$3,429 -
VIP 95折
Implementing Effective Code Reviews: How to Build and Maintain Clean Code$2,430$2,308 -
80折
$1,440Write Great Code, Volume 3: Engineering Software (Paperback) -
VIP 95折
Change Request Impacts in Software Maintenance$3,190$3,030 -
$534程序員修煉之道:通向務實的最高境界, 2/e -
79折
$469代碼整潔之道 -
80折
$1,216Seriously Good Software: Code That Works, Survives, and Wins -
79折
管理技術債 (Managing Technical Debt)$520$410 -
85折
$407代碼精進之路 : 從碼農到工匠 -
VIP 95折
Sustainable Software Architecture: Analyze and Reduce Technical Debt$1,730$1,643 -
VIP 95折
Refactoring TypeScript$1,250$1,187 -
85折
Working Effectively with Legacy Code : 管理、修改、重構遺留程式碼的藝術 (中文版)$720$612 -
VIP 95折
Managed Software Evolution$2,640$2,508 -
79折
重構|改善既有程式的設計, 2/e (繁中平裝版)(Refactoring: Improving The Design of Existing Code, 2/e)$800$632 -
VIP 95折
Agile Technical Practices Distilled$1,250$1,187 -
95折
$1,520Managing Technical Debt: Reducing Friction in Software Development -
79折
$606重構 改善既有代碼的設計 第2版 英文版 -
79折
$469重構 : 改善既有代碼的設計, 2/e (簡中平裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
79折
$796重構 : 改善既有代碼的設計, 2/e (簡中典藏精裝版)(Refactoring: Improving The Design of Existing Code, 2/e) -
85折
$402重構:數字化轉型的邏輯 -
79折
簡潔的 Python|重構你的舊程式 (Clean Code in Python: Refactor your legacy codebase)$480$379 -
95折
$2,375Refactoring: Improving the Design of Existing Code, 2/e (Hardcover) -
VIP 95折
Refinement: Semantics, Languages and Applications$2,450$2,327 -
79折
重構 JavaScript (Refactoring JavaScript: Turning Bad Code Into Good Code)$680$537 -
95折
$1,520Software Design X-Rays: Fix Technical Debt with Behavioral Code Analysis -
85折
$229這樣編碼才規範 128個編碼好習慣 -
80折
$1,280Software Development, Design and Coding: With Patterns, Debugging, Unit Testing, and Refactoring