It's building on top of something that developers should be using anyway; or at least have familiarity with. I'm quite glad they ended up going this route for that reason.
Confirmed. Every time I convert an old Node project to promises I constantly find bugs and situation that were just lost in the hell. The result is also so much cleaner that sometimes you realize you were doing something wrong entirely and you scrap the whole thing. No other JavaScript improvement comes close. Everything else is nice but only saves a few chars at most.
And they announced promises like a big improvement over callbacks :D Now that was hell! Fortunately, when I started doing serious Node.js development, callbacks were already on the way out.
For me too. Only thing I sometimes struggle with, is figuring out how to place error catches.
Wrap each async functions body in a try catch? Or always attach a catch handler to the calling function? But what if I forget to do that?
Should the caller or the callee handle the errors or can both?