Skip to content

Instantly share code, notes, and snippets.

@MrNice
Created November 20, 2015 23:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MrNice/7551400a88da4f168881 to your computer and use it in GitHub Desktop.
Save MrNice/7551400a88da4f168881 to your computer and use it in GitHub Desktop.
How to work
function work(project) {
project.setup();
while (not(project.finished)) {
try {
project.next();
} catch (unknown) {
reality = think(unknown);
mental-model = visualize(mental-domain-model, project.current-task);
solution = search(difference(mental-model, reality));
project.debug(solution);
}
}
project.moveTrelloCard();
}
@MrNice
Copy link
Author

MrNice commented Nov 20, 2015

NO BREAKS FROM THE WORK LOOP -> NO ESCAPE UNTIL YOU ARE DONE

@mLuby
Copy link

mLuby commented Nov 21, 2015

while (age < 65 && bankAccount < 25 * annualSpending) {
  work(employer.GET(project))
}
throw baseball

@seangrogg
Copy link

@mLuby

Uncaught ReferenceError: baseball is not defined, did you mean baseball.js?

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