Feature flags
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
separate deployment from release.
Planned topics
- Deploy code dark behind a flag; turn it on for staff, a percentage, or a segment.
- Flags allow instant disable without redeploying.
- Types: release flags (short-lived), ops flags (kill switches), experiment flags.
- Cost: every flag doubles code paths; remove release flags after rollout and track them with an owner and date.
Draft outline details
Demonstration
if (flags.enabled("new-checkout", user)) {...} and a flag list with owner and removal date.
Check your understanding
Name one risk of keeping flags forever.
Show answer
Dead code paths, untested combinations, and confusion.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.