Skip to content

Instantly share code, notes, and snippets.

@janv
Last active December 19, 2015 19:59
Show Gist options
  • Save janv/6010099 to your computer and use it in GitHub Desktop.
Save janv/6010099 to your computer and use it in GitHub Desktop.
A sad poem, written in Javascript
// Replacing callbacks with scumbacks
// Promise 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