By applying this book’s principles, students 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 more than a decade of Agile consulting and development experience, McLean Hall has updated this edition 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