Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created February 9, 2012 21:42
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ttscoff/1783477 to your computer and use it in GitHub Desktop.
To be or not to be...
#!/bin/shakespeare -hamlet
function suffer() {
outrageous_fortune = true;
return false;
}
function oppose() {
if (take_arms(sea_of_troubles)) sleep;
die;
}
question = (be) ? suffer() : oppose();
ask(question);
function argue(type) {
if (type == "semantics" || type == "syntax") {
return "seriously?";
} else {
return "I don't care";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment