Even with async/await, raw promises are still key to writing optimal concurrent javascript
Daniel Brain
1.7K35

Thanks for the article, nice one! Here’s my stab at your pizza challenge :-)

I think your memoize-based solution is pretty interesting. The memoization call adds extra mental overhead though. So it’s IMHO better if you can avoid it.

I totally agree with you that you still need to understand promises even if using async/await — a/a will always be less flexible. That said, promises have problems too (see http://ideasintosoftware.com/coroutines-promises/).

Like what you read? Give Graham Realyze a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.