Skip to content

Instantly share code, notes, and snippets.

@BenDol
Last active August 29, 2015 14:15
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save BenDol/825ae3f4e6bb06cef978 to your computer and use it in GitHub Desktop.
Save BenDol/825ae3f4e6bb06cef978 to your computer and use it in GitHub Desktop.
Adam is Awesome!
// Object Oriented Life Motto
Person person = world.getPerson("Adam Dempsey");
if(person != null) {
while(person.isAlive()) {
if(person.isSad()) {
person.setSad(false);
person.executeAwesomeness();
}
else {
person.fistBumpClosestPerson();
}
}
}
@dempsas
Copy link

dempsas commented Feb 13, 2015

YUS!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment