In everyday life
A restaurant prints a new dish on the menu but covers it with tape. The owner uncovers it at one table first, and can tape it over again in seconds if the dish goes wrong, without reprinting the menu.
One case
A bank app’s new transfer screen goes live at 09:00 behind a switch, turned on for 5% of users. Within minutes, 1 in 10 transfers on the new screen fails. At 09:44 the team turns the switch off. Within seconds, everyone is back on the old screen, with no new release.
Every case
A flag separates two events that used to be one: code going live, and users seeing it. You can put unfinished work live safely, show a change to 1% of users first, and turn it off, usually in seconds, if it misbehaves. That is much faster than a new deploy. The cost is a second path through the code. A flag left in place after the rolloutTurning a change on for more users in steps, such as 1%, then 10%, then everyone. is finished is clutter that nobody tests.
The word
Engineers call this
Put risky changes live switched off, turn them on in steps, and keep the off switch until you trust the change. Delete the flag when the change is fully on.