Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
benjamingr opened this issue May 25, 2018 · 5 comments

Comments

@benjamingr
Copy link

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.

@justsml
Copy link
Owner

justsml commented Jun 28, 2018

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...)

@benjamingr
Copy link
Author

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

@justsml
Copy link
Owner

justsml commented Jul 11, 2018

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
Copy link
Owner

justsml commented Jul 11, 2018

Is this the discussion @benjamingr nodejs/user-feedback#77 ?

@benjamingr
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants