DEV Community

Discussion on: Feature-Flag Driven Development (FFDD)

alexbunardzic profile image
Alex Bunardzic Author

Feature flags are used to control the access to the newly deployed code. For example, it could only allow access to a certain username. Then when the new code goes live, only the person who logs in with that username can get access to the code.

There is very little that can go wrong in the above scenario. It's just a simple conditional branch. It replaces the physical branch that usually gets created upstream (i.e. in the dev environment).

Of course, feature flag development must be coupled with comprehensive system observability.