Created
July 8, 2016 14:14
-
-
Save simpleprogrammer-shared/a6a48401a77b5ec5633c90218baa2a67 to your computer and use it in GitHub Desktop.
What Makes Readable Code: Not What You Think 5
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
var nextAction = Actions.None | |
if(dogIsHungry) | |
{ | |
nextAction = Actions.Feed | |
} | |
else | |
{ | |
nextAction = Actions.Walk; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment