Created
August 19, 2013 22:43
-
-
Save quamen/6275089 to your computer and use it in GitHub Desktop.
API for feature flipping
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
I've been working on a feature flipping class, and I'm after some opinions on naming for the method that checks if the flip is active or not: | |
The example is for flipping the sign up feature of the application: | |
Which do you prefer and why? | |
do something if sign_up_is_active? | |
or | |
do something if sign_up_active? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What about: