Armen Vardanyan
Jul 10, 2017 · 1 min read

you said nothing about async/await, hence you don’t understand how to use them properly

A brave, yet baseless statement. Again, I didn’t mention it, because I wrote about a slightly different topic, which may be, but is not obligated to be connected to ‘async/await’.

First of all, ‘async/await’ style is not declarative (at least as much declarative as an Observable chaining, if such a term may be applicable at all). At least you will have to write try/catch blocks in case your API responds with an error, which is already one level of nesting, and you may loose the chance to handle the data before subscribing to it (and again handle it inside a try catch block or even worse — somewhere in a less related place). The difference between using ‘async/await’ and Rx style in terms of readability is more of a subjective one — the levels of nesting are pretty much the same.

P.S. You are just too emotional, and just concentrated on one paragraph of the article, whilst calling it ‘bullshit’. Still waiting for the constructive stuff.

    Armen Vardanyan

    Written by

    Senior Angular developer from Yerevan, Armenia