A colored code comment

Feature flag

Definition: A feature flag refers to a team’s ability to turn a feature's functionality “on” or “off” at their personal discretion. There are many helpful reasons for this functionality, the main one being that it allows engineering teams to distinguish between code deployment and a feature rollout. A very heavily employed reason these days is enabling teams to toggle “on” or “off” premium features based on an account’s plan level.