Book description
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
- Title Page
- Copyright Page
- Dedication Page
- Contents at a glance
- Contents
- Introduction
- Part I: An Agile foundation
-
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
- Adaptive tools
- Index
- About the author
- Code Snippets
Product information
- Title: Adaptive Code: Agile coding with design patterns and SOLID principles, 2nd Edition
- Author(s):
- Release date: April 2017
- Publisher(s): Microsoft Press
- ISBN: 9781509302598
You might also like
book
Adaptive Code via C#: Agile coding with design patterns and SOLID principles
Agile coding with design patterns and SOLID principles As every developer knows, requirements are subject to …
book
Refactoring: Improving the Design of Existing Code
Fully Revised and Updated–Includes New Refactorings and Code Examples “Any fool can write code that a …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn’t clean, it can bring a development organization …
book
Patterns, Principles, and Practices of Domain-Driven Design
Methods for managing complex software construction following the practices, principles and patterns of Domain-Driven Design with …