A sad poem, written in Javascript

1 min read Original article ↗

@janv

  • Select an option

  • Save janv/6010141 to your computer and use it in GitHub Desktop.

Select an option

Save janv/6010141 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 your hopes up again
// and again
var brokenPromise = {
then: doesnt
};
function doesnt(callback){
return brokenPromise;
}