DEV Community

Discussion on: Continuous Delivery using feature toggle

clun profile image
Cédrick Lunven


Thank you for your article, simple and clear.

I'm partial because I write the FF4J library but i would like to amend with some elements :

  • Pleassse Feature Toggle is not ONLY some technical debt, it can easily introduce dynamic behaviour in your application.(Rules) You are able to create some Toggle Points and enable it based on business rules.

  • If you decide to tag your code with featureName the feature toggle framework can provide you some monitoring (how many do the features has been called, from who, from where...)

  • Toggle may introduce complexity you're right, but there are patterns to avoid mixing code flipped and other code : AOP annotation and different methods implementation for instance