軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
79折
$465重構的時機和方法 -
VIP 95折
Effective Software Development for the Enterprise: Beyond Domain Driven Design, Software Architecture, and Extreme Programming$2,220$2,109 -
VIP 95折
Software Durability: Concepts and Practices$7,540$7,163 -
VIP 95折
Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture$1,700$1,615 -
VIP 95折
Software Reliability Techniques for Real-World Applications$4,880$4,636 -
79折
Code That Fits in Your Head|軟體工程的啟發式方法$580$458 -
$539好代碼 ,壞代碼 -
VIP 95折
Animated Program Design: Intermediate Program Design Using Video Game Development$2,410$2,290 -
VIP 95折
Deciphering Object-Oriented Programming with C++: A practical, in-depth guide to implementing object-oriented design principles to create robust code$1,800$1,710 -
95折
$1,425The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life (Paperback) -
80折
$1,480Skills of a Successful Software Engineer (Paperback) -
79折
Good Code, Bad Code|寫出高品質的程式碼 (Good Code, Bad Code: Think Like a Software Engineer)$520$411 -
$1,536代碼大全2(紀念版) -
85折
$509軟件設計:從專業到卓越 -
90折
$1,620Street Coder: The Rules to Break and How to Break Them -
VIP 95折
Essential Spectrum-based Fault Localization$4,590$4,361 -
VIP 95折
Brutal Refactoring: More Working Effectively with Legacy Code$1,780$1,691 -
95折
$1,501Code That Fits in Your Head: Heuristics for Software Engineering -
95折
$1,976Clean Craftsmanship: Disciplines, Standards, and Ethics (Paperback) -
90折
$1,620Five Lines of Code: How and When to Refactor (Paperback) -
90折
$1,620Five Lines of Code: How and When to Refactor (Paperback) -
78折
設計重構:25個管理技術債的技巧消除軟體設計臭味 (Refactoring for Software Design Smells: Managing Technical Debt)$520$406 -
90折
$1,710Good Code, Bad Code: Think Like a Software Engineer (Paperback) -
VIP 95折
Technical Debt in Practice: How to Find It and Fix It$1,530$1,454 -
85折
$458你真的會寫代碼嗎 -
VIP 95折
A Holistic View of Software and Hardware Reuse: Dependable Reuse of Components and Systems$2,410$2,290 -
79折
大規模重構|奪回源碼庫的控制權 (Refactoring at Scale: Regaining Control of Your Codebase)$580$458 -
VIP 95折
The Joy of Debugging$1,940$1,843 -
VIP 95折
Demystified Object-Oriented Programming with C++: Implement proven object-oriented design principles to write better code and create robust software$1,680$1,596 -
VIP 95折
Clean Code in Python : Develop maintainable and efficient code, 2/e (Paperback)$1,850$1,758