Skip to main content
Feature Toggle

Also known as

  • Feature Flag
  • Feature Switch

Intent

A technique used in software development to control and manage the rollout of specific features or functionality in a program without changing the code. It can act as an on/off switch for features depending on the status or properties of other values in the program. This is similar to A/B testing, where features are rolled out based on properties such as location or device. Implementing this design pattern can increase code complexity, and it is important to remember to remove redundant code if this design pattern is being used to phase out a system or feature.


iluwatarAbout 2 minBehavioralDecouplingExtensibilityFeature managementScalability