Rzemiosło · The Craft
What is The CraftLevelsGet startedChapters Search Download PLEN
In plain terms
Level 2 · Technical ~4 min read

Meet the simple switch that launches a new feature for selected people, and turns it off in one move if there’s trouble.

Feature flags in plain words: roll out novelties without risk

Imagine you have an internal switch in the app. You flip it and a new feature appears. You flip it again and it disappears. Without changing the code. Without deploying everything from scratch.

That’s a Feature flag — An internal switch that turns a new feature on for some people, or off, without reworking the code. You roll a novelty out gradually and roll it back in a second — the cheapest insurance with any change. (in the jargon also a feature toggle). It sounds technical, but it’s really the most ordinary switch on the wall. Except that instead of the light, it turns a part of your app on and off.

What this is really about

Normally it goes like this: a developer adds a new feature and everyone sees it right away. Everyone at once. If something doesn’t click — you have a problem with everyone, in the same second.

A feature flag changes those rules. The new feature ships to the app, but hidden behind a switch. It lies ready, just invisible. You decide when and for whom to reveal it.

Think of a light dimmer. You don’t have to choose between “dark” and “bright”. You can give a little, check whether it fits, and only then turn it up. With a feature it’s the same: first only for yourself, then for a handful of people, finally for everyone.

Or another image. You’re opening a new room in a restaurant. You don’t let a full crowd in right away. First you seat a few guests. You watch whether the staff keeps up, whether the kitchen manages. If all goes well — you open the room to everyone. It’s exactly that move.

Why it pays off for your business

You test on a small group. You turn the novelty on for ten people, not ten thousand. If something’s wrong, you find out at ten — and they give you the first signal before the whole world sees it.

You Rollback — Reverting a change to the previous, working state — “Ctrl+Z” for a deployment. When a new version breaks production, a rollback restores the previous one in seconds instead of fixing in a panic. in a second. Something went wrong after launch? You don’t call in a panic, you don’t wait for a fix and a re-deploy. You flip the switch back. The feature disappears, the app works as before. Calm returns instantly.

You don’t wake anyone at night. This is perhaps the most important. Failures usually erupt at the worst moment. With a switch you don’t have to drag a developer out of bed at three in the morning to save the day. You turn the novelty off yourself, with one click, and wait calmly until morning.

You separate “done” from “shown”. A feature can be finished and sit in the app for weeks — hidden. You reveal it when it suits you. For example on campaign day, not when the developer happened to finish it.

What to ask the AI or the contractor

You don’t have to know a single technical word. It’s enough to say what you expect. For example like this:

  • “Hide this new feature behind a switch, so I can turn it on and off without redeploying.”
  • “I want to be able to launch this first for myself, and then for selected customers.”
  • “Make it so it can be turned off in one move if something goes wrong.”

These are simple sentences, and they make a huge difference. A good contractor immediately knows what you mean — because for them it’s bread and butter. For you it’s the cheapest insurance policy you can buy with every change.

It’s worth asking for it at the start, not after the fact. Adding a switch right away costs pennies. Retrofitting it later, when something’s already on fire, is much harder.

Small project vs large

Here an honest note, because it depends on scale.

In a small project — when there are few users and you’re close to everything — a feature flag is often a sufficient convenience. You can calmly try out a novelty even on the live version: you turn it on first only for yourself, watch whether it works, and only then reveal it to the rest. The risk is small and the convenience great.

But the larger the project, the less you want to test directly on production. When you have thousands of customers and a support team answering phones, every “live” slip is real cost and people’s nerves. Then novelties are checked earlier, on the side — on a so-called staging environment (staging), that is a separate, safe copy of the app for testing, or on a copy of production (the same data in a cut-off place). Only when everything works there does the change go live.

In such a world a feature flag is still valuable — but as a complement, not the whole safety net: it lets you reveal an already-proven feature gradually and turn it off in a second, should something surprise you after all. First a test alongside production, then a controlled roll-out via the switch.

In short

  • A feature flag is a feature switch — an internal control that reveals or hides a novelty, without reworking the app.
  • You roll novelties out gradually and safely — first for a few people, and if something jars, you turn it off in a second, with no midnight calls.
  • Ask for it in one sentence — “hide this feature behind a switch” — and ideally right away, because it’s the cheapest protection with any change.
  • Remember scale: in a small project a flag is enough to test safely even live; in a large one (with customer support) test first on staging or a copy of production, and use the switch for controlled roll-out.
Quiz

Test yourself — 4 questions · pass at 3/4.

1 What is a feature flag really, stripped of its technical ring?
2 Something went wrong right after launching a feature hidden behind a switch. What do you do, per the article?
3 In a large project with thousands of customers and support — what role does a feature flag play?
4 When is it best to ask the contractor to hide a feature behind a switch?