HNHacker News
TopNewBestAskShowJobs

TeffenEllis

161 karma · joined November 2, 2016

10x programmer with over NaN years of experience.

@GirlBossRush

teffen [at] sister [dot] software

submissionscomments
TeffenEllis··on Async/await support in Firefox
I have mixed feelings but I think this is a net win for JavaScript.

XMLHttpRequest was enhanced with the Fetch API which uses promises. The libraries and methods will eventually catch up in a similar way.

If we stopped here there'd be little reason to ask everyone to promisify their libraries. The promise callback chain was only slightly more easy to read than the callback pyramid of doom. You might say that async/await lowers the explicit complexity vastly and increases the implicit complexity marginally.

← PreviousPage 2 of 2