Asynchronous Javascript Programming
Authors:-Ravi Gosai, Professor Kashyap A. Dave
Abstract-JavaScript, with its rich feature set of being dynamic, interpreted, object-oriented, and first-class functions, has gained immense fame in the last few years. JavaScript adopts an event-driven/custom I/O non-blocking model which technically translates to higher performance for application work through Node.js. In order to use these behaviors, various design patterns implementing asynchronous programming for JavaScript have emerged. Unfortunately, it is terribly difficult to choose a right pattern and implement a good asynchronous source code, which leads to the application being strongly robustless and source code of poor quality. Building from our previous work with exception handling code smells for JavaScript, the current study is aimed at exploring the impact of three asynchronous programming patterns in JavaScript on the quality of source code and application.
