I haven't seen them used on any of the projects I've worked on. HN is really the only place I regularly hear about feature flags, actually.
HN seems like 90% web developers, and I don't really see the point outside of the web. I mean, we have other ways of gradually rolling out and configuring new software builds.
Ask HN: Does your team use feature flags?
91–100 of 143 posts
Re: Ask HN: Does your team use feature flags?
#92Re: Ask HN: Does your team use feature flags?
#93Re: Ask HN: Does your team use feature flags?
#94Worked for a bigtech well known name, large and extremely important project, literally the core of a service serving an enormous number of users, and feature flags were mandatory, no exceptions. I can't imagine working without feature flags. Being able to enable new features in particular deployment rings (canary, dogfood, various production rings or regions), or per users / user groups, enabling gradually (percentag…
Having them everywhere was great, we could flip things off feature by feature just by changing the flags.
Having the old ones still around can be handy.
Re: Ask HN: Does your team use feature flags?
#95It's almost a requirement to do continuous deployment and working without long living branches.
Don't forget to clean them up with you don't need one anymore. There's work involved with that too.
Re: Ask HN: Does your team use feature flags?
#96Yes. Feature flags changed the mindset of my whole team. I absolutely love the fact that it pushes the whole team towards release-small-release-often mentality. It's a technical solution with many benefits but I love the cultural impact the most.
Re: Ask HN: Does your team use feature flags?
#97The problem with feature flags is that (assuming a flag can only be "on" or "off") once you introduce the flags you have 2^n different possible states the system can be in. When you have a bug or a crash, you have to reason about all of those states. If you have even 10 flags, that's over 1,000 combinations!
Does anyone have a different way of enabling "experiments" or quickly rolling back bad changes?
Re: Ask HN: Does your team use feature flags?
#98Re: Ask HN: Does your team use feature flags?
#99Not just feature flags, but "knobs" - we use a percentage (of requests or customers) instead of a boolean to enable features so we can dial them up/down. This let us slowly roll out new features to a subset of users in case there are any issues. Using feature flags also requires testing the default (not enabled state), ensuring you have a robust realtime configuration manager to control the knobs, and metrics for eve…
Re: Ask HN: Does your team use feature flags?
#100Earlier quoted context omitted.
That's A/B testing, not feature flags. Check https://news.ycombinator.com/item?id=30115276 for a description of how feature flags are used.
A/B testing can be done with feature flags. Gradual rollout, specific customer opt-in, and so on.
Gradual rollout and specific customer opt-in to certain features can certainly be done with feature flags, I wouldn't call that A/B testing unless you're running experiments and reaching a conclusion that A is better than B (or vice-versa).