Skip to content

Instantly share code, notes, and snippets.

@ttscoff
Created February 9, 2012 21:42
Show Gist options
  • Save ttscoff/1783477 to your computer and use it in GitHub Desktop.
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