軟體架構 / Refactoring
重構是軟體開發過程中的一個實踐,目的是改進程式碼的結構和品質,同時保持其功能不變。透過重新編寫、重新組織和優化程式碼,我們可以提高程式碼的可讀性、可維護性和擴展性。
重構的目標是改善程式碼的內部結構,使其更容易理解、修改和擴充。這可能包括將長函式拆分成較小的函式、消除重複的程式碼、改善變數和函式的命名、優化程式碼的邏輯和流程等。在重構的過程中,保持程式碼的行為不變至關重要,並且需要透過測試確保在重構後的程式碼仍然正常運作。
重構的好處包括提高程式碼品質、減少程式碼錯誤、增加可維護性、降低開發成本和提高開發效率。它是一個持續的過程,可以隨著需求的變化和程式碼的演進進行。透過定期的重構,我們能夠保持程式碼的健康狀態,並促進團隊合作和協同開發。
相關書籍
-
VIP 95折
The Art of Code: The Surprising Power of Beauty in Software Development$2,380$2,261 -
VIP 95折
Clean Code: A Handbook of Agile Software Craftsmanship, 2/e (Paperback)$2,330$2,213 -
VIP 95折
PHP 8 Objects, Patterns, and Practice: Volume 2: Mastering Essential Development Tools$1,680$1,596 -
VIP 95折
Software Engineering Made Easy: A Comprehensive Reference Guide for Writing Good Code$1,200$1,140 -
VIP 95折
Domain-Driven Refactoring: A hands-on DDD guide to transforming monoliths into modular systems and microservices (Paperback)$1,560$1,482 -
VIP 95折
C++ Design Patterns: An Object-Oriented Perspective$820$779 -
VIP 95折
Continuous Modernization: The never-ending discipline of improving microservices, monoliths, distributed monoliths, individuals, and teams at sc$1,730$1,643 -
VIP 95折
Reuse and Software Quality: 21st International Conference on Software and Systems Reuse, Icsr 2024, Limassol, Cyprus, June 19-20, 2024, Proceeding$4,180$3,971 -
VIP 95折
Mastering IntelliJ IDEA: A Comprehensive Guide for Developers: Unlock Your Coding Potential with Advanced Techniques and Best Practices$920$874 -
VIP 95折
Software Testing Automation: Testability Evaluation, Refactoring, Test Data Generation and Fault Localization$8,220$7,809 -
VIP 95折
Your Code as a Crime Scene, Second Edition: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs$2,290$2,175 -
VIP 95折
Refactoring in Java: Improving code design and maintainability for Java developers$1,730$1,643 -
80折
$1,160Tidy First? A Personal Exercise in Empirical Software Design (Paperback) -
VIP 95折
Refactoring with C#: Safely improve .NET applications and pay down technical debt with Visual Studio, .NET 8, and C# 12 (Paperback)$1,910$1,814 -
VIP 95折
Accelerating Digital Transformation: 10 Years of Software Center$6,880$6,536 -
80折
$1,760Clean Code Cookbook: Recipes to Improve the Design and Quality of Your Code (Paperback) -
VIP 95折
Animated Program Design: Intermediate Program Design Using Video Game Development$2,450$2,327 -
VIP 95折
Effective Software Development for the Enterprise: Beyond Domain Driven Design, Software Architecture, and Extreme Programming$2,130$2,023 -
VIP 95折
Software Durability: Concepts and Practices$7,610$7,229 -
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,960$4,712 -
VIP 95折
Animated Program Design: Intermediate Program Design Using Video Game Development$2,450$2,327 -
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 -
90折
$1,350The Art of Clean Code: Best Practices to Eliminate Complexity and Simplify Your Life (Paperback) -
80折
$1,480Skills of a Successful Software Engineer (Paperback) -
90折
$1,620Street Coder: The Rules to Break and How to Break Them -
VIP 95折
Essential Spectrum-based Fault Localization$4,670$4,436 -
VIP 95折
Brutal Refactoring: More Working Effectively with Legacy Code$1,810$1,719 -
95折
$1,501Code That Fits in Your Head: Heuristics for Software Engineering -
95折
$1,976Clean Craftsmanship: Disciplines, Standards, and Ethics (Paperback)