escape-from-callback-mountain icon indicating copy to clipboard operation
escape-from-callback-mountain copied to clipboard

Thanks for the kind words in https://github.com/justsml/escape-from-callback-mountain/wiki/Beating-a-dead-horse%3F

Open benjamingr opened this issue 7 years ago • 5 comments

If you have any feedback about how native promises can give users a better debugging experience please let us know :) We're gathering use cases for Node.js to see what we can do better.

benjamingr avatar May 25 '18 10:05 benjamingr

Hey @benjamingr - thanks for reaching out.

I'm finding that lots of docs for 3rd party libs include overly simplified Promise examples which lead to problems if used without deeper understanding.

Often it's forgetting to return or using .catch incorrectly.

IDK, I wish there was better docs for Promises. MDN seems dedicated to edge cases (saving promises as a variable, calling .then multiple times on a single promise...)

justsml avatar Jun 28 '18 19:06 justsml

We're thinking about doing an official promises and async/await guide for Node.js - do you think that might help?

benjamingr avatar Jun 28 '18 20:06 benjamingr

Definitely, that would move in the right direction. 👍

I'd love to help out with the effort, can you point me to the issue/discussion?

Thx @benjamingr

justsml avatar Jul 11 '18 17:07 justsml

Is this the discussion @benjamingr https://github.com/nodejs/user-feedback/issues/77 ?

justsml avatar Jul 11 '18 17:07 justsml

@justsml thanks, that issue is specifically about the user survey we want to send out - there is discussion at https://github.com/nodejs/promise-use-cases and https://github.com/nodejs/promises-debugging

benjamingr avatar Jul 11 '18 18:07 benjamingr