From f6ca40e8b0ea997efecfd67132415860f38790fe Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Jun 2023 23:28:57 +0100 Subject: [PATCH] daily-email: add 2023-06-10 How do you know when to remove a feature flag --- src/content/daily-email/2023-06-10.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/content/daily-email/2023-06-10.md diff --git a/src/content/daily-email/2023-06-10.md b/src/content/daily-email/2023-06-10.md new file mode 100644 index 000000000..b359908e8 --- /dev/null +++ b/src/content/daily-email/2023-06-10.md @@ -0,0 +1,15 @@ +--- +title: > + How do you know when to remove a feature flag? +pubDate: 2023-06-10 +permalink: > + archive/2023/06/10/how-do-you-know-when-to-remove-a-feature-flag +tags: + - feature-flags +--- + +But once a feature has been enabled, how do you know if you can remove its flag? + +A simple suggestion I've heard is to add a "Remove when..." comment above where the flag is used and detail what conditions need to be in place before the flag can be removed. + +It might be a period of time or after another feature has been shipped, but it will give some clarity when you see the flag in the code to if or when it can be removed.