👉 This article has been updated and republished, read the latest version here

NodeJS supports async/await out of the box since version 7.6. I believe it has been the single greatest addition to JS since 2017. If you haven’t tried it yet, here are a bunch of reasons with examples why you should adopt it immediately and never look back.

Async/Await 101

For those who have never heard of this topic before, here’s a quick intro

  • Async/await is a new way to write asynchronous code. Previous alternatives for asynchronous code are callbacks and promises.
  • Async/await is actually just syntax sugar built on…


*Preferably before you take it

Being a young Software Engineer, I spend a lot of time worrying whether I’m on the right career path, whether my current job is a good fit for me, whether I should look for other opportunities, which ones to apply for, which one to actually accept, and other overwhelming questions like this.

Over the time, I’ve been accumulating a list of factors that I should consider when evaluating a job. Some I discovered from experience, some from colleagues, and some from blogs or podcasts, and, more importantly, some I learned the hard way. …

Mostafa Gaafar

Software Engineer based in London https://twitter.com/imGaafar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store