Last active
February 26, 2018 10:43
-
-
Save mizrael/6d453d03b3f7b3d2e194064651ad70ea to your computer and use it in GitHub Desktop.
Feature Gating
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function compute_stuff(){ | |
/*...*/ | |
if(checkFeatureIsOn("foo_feature")){ | |
new_amazing_shiny_never_used_function(); | |
}else{ | |
old_tested_reliable_and_lovely_function(); | |
} | |
/*...*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment