RICARDO LLC
Site directory

Technology notes / Change / Feature flags

Separate release from deployment.

Putting code into an application and making a feature available to people can be separate decisions.

Educational reading · General technology concepts

Code deployedFlag evaluatedFeature available
Illustrative sequence: availability depends on an explicit decision in the application.

A condition around behavior

A feature flag is a condition that an application evaluates to decide whether particular behavior is available. The code can already be deployed while the feature remains disabled. Availability can then change without repeating the whole code deployment.

Flags can support a simple switch or a gradual rollout.

A hypothetical reading tool

Imagine a reading application with a new compact table of contents. Its existing navigation remains available while the compact version is introduced to a limited audience. Someone investigating a confusing screen would need to know which version that reader actually saw.

Suppose the compact view hides a useful heading on a narrow screen. Disabling its flag might restore the earlier view, provided that earlier path still works. It would not undo any unrelated changes that the new code had already made elsewhere.

Keep the decision understandable

A flag needs a clear purpose and an understood default. Ask what happens if its configuration cannot be read, which paths need checking, and when a temporary decision can be removed.

Availability is distinct from access permission. A hidden interface alone does not explain how protected actions are authorized.

Further reading: Microsoft: Feature management overview.

Educational material; hypothetical examples do not describe RICARDO LLC’s activities or services.