loading...

Discussion on: CI/CD: Continuous Integration & Delivery Explained

Collapse
markoa profile image
Marko Anastasov Author

How do feature flags let you restrict unstable work from being used?

Feature flags are basically

if current_user.can_use_feature?(“new-feature”)
  render_new_feature_widget
end

So you don’t even load the related code unless the user is part of the dev team or a small group of beta testers. It can be totally unfinished, nobody will be affected. So you can work on it in small iterations and make sure each iteration is well integrated with the system as a whole. Much easier to deal with than a big-bang merge.

Collapse
mike_hasarms profile image
Mike Healy

Thank you, looks good