DELAPARRA
Index
Color
NL
Category: Core glossary

Feature flag

Explained by Updated

What is Feature flag?

Feature flag: A configuration switch that enables or disables a feature at runtime without deploying new code. Also called a feature toggle. A feature flag is a switch that turns a feature on or off without deploying new code. The code for the new feature is already in production, but it only runs when the flag is on.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Feature flag

How is Feature flag used in practice?

This separates deploying from releasing. You can merge unfinished work safely, test a feature with a few users first, or turn something off instantly if it causes problems.

What should you keep in mind with Feature flag?

Flags can be simple, such as a config value, or advanced, with percentages, user groups and a dashboard. Laravel Pennant, LaunchDarkly and Unleash are common tools. The main risk is that old flags pile up. Each one adds a branch in the code that someone has to understand. Remove a flag as soon as the feature is fully released, and keep a list of active flags with their owners.

At a glance

CategoryCore glossary
Explained by
Updated

More Core glossary terms

All terms starting with F

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.