Created
June 13, 2019 08:48
-
-
Save koningskristof/43e6aef1d9a8f80ceed45d58c6844cbf to your computer and use it in GitHub Desktop.
year refactoring - example 1
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
if(featureToggleService.isFeatureEnabled('FEATURE_NAME')) { | |
doNewCode; | |
} else { | |
doOldCode; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment