Software Development Manager Mock Interview

Master 47 Software Development Manager interview questions covering technical leadership, team scaling, and delivery strategy.

WRITTEN BY WILLIAM SWANSEN
QUESTION 6 OF 47

What are the differences between impeding and non-hindering calls, and how are they related to Node.js?

JavaScript and Node.js are common programming languages used when developing software. Interviewers will expect you to understand this and be able to optimize how these programs function. Since JavaScript is single-threaded, you are expected to be able to use both impeding and non-hindering calls appropriately to ensure that the programs perform per the specifications and with the best performance values possible.

You can answer this question by first describing how impeding calls function and why they are used within a JavaScript program. You can then describe the advantage of non-hindering calls and the benefits they provide. Note that the question asks you how these relate to Node.js. Make sure to include this in your answer. Many candidates don't listen to the complete question and neglect to provide the information the interviewer asks about.

"Impeding calls are those where the execution of extra JavaScript needs to stand by until a non-Javascript activity is completed. This is an example of coordinated activity. Non-hindering calls can execute non-concurrently and will be faster. This is important since JavaScript is single-threaded and serially, using a single storage stack. Most of the I/O operations in Node.js use impeding calls. An example is executing fs.readFileSync, which results in the reader being fully executed before the program proceeds."

William Swansen
47 QUESTIONS & ANSWERS · SOFTWARE DEVELOPMENT MANAGER
See membership