Created
March 13, 2019 17:24
-
-
Save kleberksms/9069e7e955ad40ad3771c7247afb7d45 to your computer and use it in GitHub Desktop.
Rule 2: Don’t use the ELSE keyword
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
if (status == DONE) | |
{ | |
doSomething(); | |
} | |
else | |
{ | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment