Adaptive Code: Agile coding with design patterns and SOLID principles, 2nd Edition
- Length: 448 pages
- Edition: 2
- Language: English
- Publisher: Microsoft Press
- Publication Date: 2017-04-22
- ISBN-10: 1509302581
- ISBN-13: 9781509302581
- Sales Rank: #301987 (See Top 100 Books)
Write code that can adapt to changes.
By applying this book’s principles, you can create code that accommodates new requirements and unforeseen scenarios without significant rewrites. Gary McLean Hall describes Agile best practices, principles, and patterns for designing and writing code that can evolve more quickly and easily, with fewer errors, because it doesn’t impede change.
Now revised, updated, and expanded, Adaptive Code, Second Edition adds indispensable practical insights on Kanban, dependency inversion, and creating reusable abstractions. Drawing on over a decade of Agile consulting and development experience, McLean Hall has updated his best-seller with deeper coverage of unit testing, refactoring, pure dependency injection, and more.
Master powerful new ways to:
- Write code that enables and complements Scrum, Kanban, or any other Agile framework
- Develop code that can survive major changes in requirements
- Plan for adaptability by using dependencies, layering, interfaces, and design patterns
- Perform unit testing and refactoring in tandem, gaining more value from both
- Use the “golden master” technique to make legacy code adaptive
- Build SOLID code with single-responsibility, open/closed, and Liskov substitution principles
- Create smaller interfaces to support more-diverse client and architectural needs
- Leverage dependency injection best practices to improve code adaptability
- Apply dependency inversion with the Stairway pattern, and avoid related anti-patterns
About You
This book is for programmers of all skill levels seeking more-practical insight into design patterns, SOLID principles, unit testing, refactoring, and related topics. Most readers will have programmed in C#, Java, C++, or similar object-oriented languages, and will be familiar with core procedural programming techniques.
Table of Contents
PART I: AGILE DEVELOPMENT FRAMEWORKS
Chapter 1 Introduction to Scrum
Chapter 2 Introduction to Kanban
PART II: FOUNDATIONS OF ADAPTIVE CODE
Chapter 3 Dependencies and layering
Chapter 4 Interfaces and design patterns
Chapter 5 Testing
Chapter 6 Refactoring
PART III: SOLID CODE
Chapter 7 The single responsibility principle
Chapter 8 The open/closed principle
Chapter 9 The Liskov substitution principle
Chapter 10 Interface segregation
Chapter 11 Dependency inversion
PART IV: APPLYING ADAPTIVE CODE
Chapter 12 Dependency injection
Chapter 13 Coupling, cohesion, and connascence
Appendix: Adaptive tools