Hacker News new | ask | show | jobs
by 2023throwawayy 1108 days ago
Feature flags in source control seems to be missing the point.

Separating feature flags and source let’s you decouple your code releases from your feature releases. Requiring a deploy of new to code to enable or disable a feature seems to negate almost all of the benefit of using feature flags to begin with.

1 comments

They don't necessarily have to rolled out as part of the same release process. You can still decouple them without giving up them being version controlled which to me is also preferable over just toggling things through a gui.

Having a release process for flags also allows you to run integration tests with those flags, canary alerting and automated rollbacks.

Yes this is how I view it. Just because it's in code doesn't mean it's the same codebase, same deployment process, same servers, or anything else. Code is the source of truth and log of how that truth changed over time.