-
Notifications
You must be signed in to change notification settings - Fork 293
callback #1398
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
Comments
a detailed explanation on the event driven programming is available here: #1118 . If you have doubts on any specific area(s) please let me know.
Primary use case for callback is completion handing of an I/O work that happens asynchronously. While this is pervasively used in Node programs, chaining such callbacks deeply is not a common thing, and I am yet to see a real use case where more than 10 callbacks chain up to complete a common business logic. There could be one or two, but then those would probably the central part of an application (such as the composition layer of a webapp that follows microservice architecture) and would be carefully developed and reviewed with control flow well tested. The meme largely come from programmers from other languages who perceive code sequences to be executed in the order in which those were written. Promise is a way to circumvent callback chaining. Promise do not avoid callbacks, instead they hide the visibility of the chaining from the user program. Usage of promise in large scale production systems may degrade overall performance. |
Thanks Sir,How can I improve my skills in node.js and Expressjs ? how can I practise on them ? |
are you willing to be active in the community? then there are a number of things I can suggest:
Expressjs is not part of Node.js project, so I cannot comment on that. Good luck! |
Thanks so much I really appreciate that. |
ah! although it is an honest and awesome question, I cannot answer it, something that influences your career decision. However, I will copy @nodejs/community-committee to chime in and advise, assuming they are best placed to respond to that within this project. If there is anything more on technical help and support, I am happy to assist! thank you. |
@Woodyinho I suggest that you take a look at the Node.js user survey report which will give you a general overview about the users of Node.js and understand how they use it. To get a hint about the companies that use Node.js and the positions they are seeking, take a look at Stackshare's "companies using Node.js" section. Finally, Stackoverflow's 2018 user survey report will give you a general overview about the place of node in the overall market, average salaries, positions, and how users rank it in comparison to other technologies and platforms. I hope you find this helpful while still unbiased, Cheers! |
Closing as answered. |
Hello Geeks, could you please tell me how to master callback and callback hell ?
The text was updated successfully, but these errors were encountered: