How to use feature flags without technical debt
The text discusses a method for managing and cleaning up feature flags after rolling out new code to all users. It involves writing the new feature on a short-lived feature branch, then creating a second branch that removes the feature flag and leaves only the new code. Naming conventions are suggested for clarity. After submitting pull requests for both branches, the cleanup branch is merged when it's safe to do so based on flag status indicators. This approach ensures that the work of removing the flag is done while all context is fresh in mind, making it easier to ensure nothing is forgotten.
Company
LaunchDarkly
Date published
May 17, 2016
Author(s)
Patrick Kaeding
Word count
449
Hacker News points
None found.
Language
English