Conversation
Thanks a lot for dedicating time to this project and writing those questions. Everything seems okay to me, they could be a bit shorter but I think this is fine too. There's just one thing I would like to point out before merging:
Apart from those minor changes, everything is perfect. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly certain these relate to NodeJS at all... While we can have ECMAScript/JS flavors of it as the question that is fine, but tagging the Node is doing a disservice to them...
@@ -0,0 +1,37 @@ | |||
### How can you avoid callback hells? |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@@ -0,0 +1,61 @@ | |||
### What is an error-first callback and why should I use it? |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
questions/node-promise-states.md
Outdated
@@ -0,0 +1,22 @@ | |||
### In which states can a Promise be? |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
questions/node-promises.md
Outdated
@@ -0,0 +1,28 @@ | |||
### What are Promises? |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
@skatcat31 Any solutions to this problem then? I am sure we will run into those problems pretty frequently. I never planned on adding other languages so everything associated with JS and Node went to But as we discussed earlier, contributors will come and we will introduce new categories very soon. To me, it is stupid to put this into |
We could have a Reason I say that is a node question is more along the lines of
That's a question that is really server specific, and in this case fits perfectly into the node category(or a server category if we choose to implement that) But we can really target it at node by asking
|
Yeah right so maybe these have to be put into EDIT |
@flxwu can you fix mentioned things so we can merge then? |
@flxwu I'd be fine with that, but we should direct the question about Callback Nesting a little bit more directly as Node by changing it a bit to read:
Advantages include:
Avoiding nesting:
The problem is that question is so nuanced I'm not sure it's easy to just explain... We could do a medium article about more information and point to it under the question and note how this specific example is just one of many ways to approach the problem and just stick with that... I could literally write paper after paper about error handling in just NodeJS or Closure based languages of which PHP, Python, C/++, Scala, Java, Erlang, Elm, Haskell, so many others all apply that it could be a career |
@fejes713 , yeah, working on it 👍 |
Once you're done, I am merging this right away. Then we are just 2 questions away from our 1st milestone (50 questions for launch) |
@skatcat31 Actually, after googling around a bit, the term or do you strongly disagree? @skatcat31 and further, we are lacking node.js questions haha |
This is very true and sad at the same time. I would personally stick with felix's opinion on this one. Down the road, we will eventually make a general category and try to generalize node/js questions that are similar to other languages 👍 |
@fejes713 Your opinion regarding the current questions? Just changed the error-first callback question title to @skatcat31 's suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it is way better 👍 Good job
What does your PR belong to?
Types of changes
Checklist: