It just seems that you don’t understand the event stack/loop. JS has synchronous and asynchronous functions. Since it’s single-threaded, it can only work on one thing at a time, so it assigns events a position in the stack.
- Code clutter and confusion. It’s not uncommon that errors and accidents occur from carelessness of developing in large sizes of function blocks. …
- Readability. …
- Lack of control. …
- Boilerplate (Solved by: Templating)