News for hackers. Stuff that matters.
Re:“Node.js is one of the worst things to happen to the soft... by colordrops on Tuesday August 23, 2016 @02:15AM (#12341752)
That's not accurate. If you have any code after the line in the first example, it will be executed before the function in the "then" call. You could run several asynchronous operations (nearly) simultaneously. I/O will execute as fast as possible rather than wasting cycles running things sequentially.
Re:“Node.js is one of the worst things to happen to the soft... by drawnwren on Tuesday August 23, 2016 @02:32AM (#12341814)
I'm fairly sure his point was that if he wanted code to execute between the calls he would rather write that in his code directly than deal with the cognitive overhead of reasoning about constant async calls.

Async makes a lot of sense in cases where you are waiting for an event outside of your server's process, but async calls in the same code base seem a bit over the top.