Last active
August 29, 2015 14:03
-
-
Save sizovs/4e94c52a1cc605ef6c8f to your computer and use it in GitHub Desktop.
doStuff
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
void doStuff() { | |
if (newImplementation.isToggled()) { | |
doStuffInANewWay(); | |
} else { | |
// DROP [new_do_stuff_toggled] | |
doStuffInAnOldWay(); | |
} | |
} | |
// DROP [marketing_campaign_finished] | |
void sendMarketingCampaign() { | |
sendSpamToAllCustomers(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment