/plushcap/analysis/launchdarkly/how-to-use-feature-flags-without-technical-debt

How to use feature flags without technical debt

What's this blog post about?

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

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.