DEV Community

Discussion on: Callbacks, Promises, and Async/Await in JavaScript

Collapse
 
siy profile image
Sergiy Yevtushenko

async/await hides asynchronous nature of the code and makes code harder to understand and maintain. In contrast, Promise-based code is a plain "monadic" code which always looks very similar regardless if this is a synchronous or asynchronous code. Of course, particular implementation and API have a significant consequences on readability of the code.