Macbeth’s lost callback

Following another test failure, Macbeth ponders his pitiful code. In desperation he implores the overlooked callback to invoke itself.


The tests, my lord, have failed.


I should have used a promise;

There would have been an object ready made.

Tomorrow, and tomorrow, and tomorrow,

Loops o'er this petty code in endless mire,

To the last iteration of recorded time;

And all our tests have long since found

Their way to dusty death. Shout, shout, brief handle!

Thine’s but a ghoulish shadow, an empty layer

That waits in vain to play upon this stage;

And then is lost, ignored. Yours is a tale

Told by an idiot, full of orphaned logic

Signifying nothing.

————– ❦ ————–

Original text:


The queen, my lord, is dead.


She should have died hereafter;

There would have been a time for such a word.

Tomorrow, and tomorrow, and tomorrow,

Creeps in this petty pace from day to day,

To the last syllable of recorded time;

And all our yesterdays have lighted fools

The way to dusty death. Out, out, brief candle!

Life’s but a walking shadow, a poor player

That struts and frets his hour upon the stage

And then is heard no more. It is a tale

Told by an idiot, full of sound and fury

Signifying nothing.
— Macbeth (Act 5, Scene 5, lines 17-28)


Now read this

Salinger, Nabokov and Tupac do JavaScript

(New Book “If Hemingway wrote JavaScript” Now Available) So anyway, I asked J.D. Salinger, Geoffrey Chaucer, Tupac Shakur, Virginia Woolf and Vladimir Nabokov to solve the happy numbers problem in JavaScript. Amazingly they all... Continue →