Created
May 25, 2012 11:43
-
-
Save anonymous/2787527 to your computer and use it in GitHub Desktop.
really?
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(i==1) | |
return 1; | |
if(i==2) | |
return 2; | |
if(i==3) | |
return 3; | |
if(i==4) | |
return 4; | |
if(i==5) | |
return 5; |
No default return statement. Terrible.
Don't do drugs, kids.
I don't understand. Please add comments...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nice snippet. I will definitely use it. Thanks for sharing! ;)