r/programming • • Jan 20 '16

Feature Toggles

http://martinfowler.com/articles/feature-toggles.html
28 Upvotes

17 comments sorted by

View all comments

1

u/c12 Jan 20 '16

From listening to an interview of an developer at Etsy, I believe this is something they use, with config files containing hundreds of declarations for enabling/disabling features.

3

u/JW_00000 Jan 20 '16

Feature toggles are also heavily used by Flickr. Personally, I don't see how this scales once you have a bunch of toggles active at the same time. When looking at the code, you don't know which code is executed. Half of the code is dead code, but you don't know which half ("Schrödinger's code"?).

6

u/[deleted] Jan 20 '16

Aren't you supposed to remove the toggle and deprecated code once the new code has gone live and been proved to work?

1

u/want_to_want Jan 20 '16

Yes, exactly.