Design Patterns · Middle · Question 52 of 75
What is Branch by Abstraction?
- ✓Correct answer: Introducing an abstraction over the part to replace, switching implementations behind it on the main branch, then removing the old one
- 2Creating a long-lived Git branch for a rewrite
- 3Abstracting Git branches in CI
Explanation
It allows large replacements (e.g. a charting library) without long-lived branches, often combined with a feature flag.