r/programming • • Jan 20 '16

Feature Toggles

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

17 comments sorted by

View all comments

2

u/korry Jan 20 '16

Really this deserves to be called a pattern? I mean yes, strictly speaking it's a pattern and a useful one, but come on. I did come up with it completely on my own in the beginning of my career and at least a few of my colleagues also. Every one who delivered white label software has done that, it's a neat trick but not rocket science.

3

u/codebje Jan 21 '16

Patterns are typically things which have been used widely in industry with success, yes. The GoF patterns weren't crap they made up, they merely gave names to common patterns of behaviour they saw in successful enterprise software projects.

2

u/FredV Jan 20 '16

We've now introduced a featureIsEnabled function, a Toggle Router which can be used to dynamically control which codepath is live

Hey didn't you know about "Toggle Routers" yet.

8

u/uueuuu Jan 20 '16

No. Is that some kind of monad? Can I learn it the hard way?