oliverdavies.uk/source/_daily_emails/2023-06-13.md

18 lines
873 B
Markdown
Raw Normal View History

2024-01-03 20:00:00 +00:00
---
title: >
2024-02-07 20:01:19 +00:00
Should you feature flag everything?
2024-01-03 20:00:00 +00:00
pubDate: 2023-06-13
permalink: >-
2024-02-07 20:01:19 +00:00
archive/2023/06/13/should-you-feature-flag-everything
2024-01-03 20:00:00 +00:00
tags:
2024-02-07 20:01:19 +00:00
- feature-flags
2024-01-03 20:00:00 +00:00
---
Whilst it's probably impractical to feature flag every new feature or change to your application, considering it is something I do for each change.
If you find a bug after a feature has been released, if it's feature flagged, you can quickly disable it without needing to make a code change or release another version.
Instead of needing a rollback plan for a release and reverting to the previous version, it can be as simple as disabling the feature flag again to turn it off whilst the cause is investigated.
There is a maintenance overhead to adding a feature flag, and it can cause complexity by creating separate paths within the code but using feature flags gives a lot of benefits too.