Skip to content

Instantly share code, notes, and snippets.

@janv
Created July 16, 2013 16:08
Show Gist options
  • Save janv/6010134 to your computer and use it in GitHub Desktop.
Save janv/6010134 to your computer and use it in GitHub Desktop.
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promises to call you back but then doesn't
// Getting you hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment