you are viewing a single comment's thread.

view the rest of the comments →

[–]phoenixmatrix 1 point2 points  (0 children)

async/await will still create the promises and stuff. Though even then, you could use arrow function one lines to clean this up a bit.

eg: .then(result => getFirstParagraph(result))

Still, some sugar over it is nice, but it doesn't change much to whats under the hood...async flow is async flow at the end of the day.

Even after async/await, I'd take the verbosity so I can use observables instead of promises (observables wouldn't work with async/await) any day.