DEV Community

Cover image for Why and When you need Feature Flags — with examples
Raksha for Canopas Software

Posted on

3 1

Why and When you need Feature Flags — with examples

What is a Feature Flag?

Feature Flag is a coding practice where while working on a new feature, everything related to that feature will be developed in a such a way that the feature can be enabled/disabled from a boolean flag.

That means we don’t need to keep track of multiple branches in case of hot-fix. The app can easily be shipped with feature flag OFF and it will behave exactly like it was before the feature was introduced.

Feature flag are even more handy when there are multiple team members contributing to a repository. In that case, sometimes the team will have multiple features in progress and Feature Flag will be the ultimate solution.

Alright, enough with the intro, let’s move on to how you can start using them now!

You can more read on blog.canopas.com

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay