Created
July 16, 2012 16:18
-
-
Save dsosby/3123580 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
boolean isFoo() { | |
int status = this.getStatus(); | |
return (status != STATUS_BAR && | |
status != STATUS_BAZ); | |
} | |
vs. | |
boolean isFoo() { | |
int status = this.getStatus(); | |
return (status == STATUS_BLAH || | |
status == STATUS_BLEE || | |
...continues for several more); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment