3 ms·
Then please enlighten me what frontend questions you ask in your interviews. By the way, only 1 out of 10 frontend developers can answer what the event loop is
by koonsolo 7y ago
Then please enlighten me what frontend questions you ask in your interviews.
By the way, only 1 out of 10 frontend developers can answer what the event loop is, according to my experience.
- lostmsu 7y agoI am not saying understanding event loop is not mandatory for senior JS devs. It is just that your question is really obscure. Why not just ask what an event loop is and what are the consequences of that execution model?
- koonsolo 7y agoSome JavaScript developers know the theory, but not all of them. At least you should know how it practically works. So when you ask "What is the JavaScript event loop?", most will stare at you not knowing what it is. So then I jump to the practical side. They at least should have worked with either setTimeout, async/await and/or events. So then you start asking for practical consequences of the event loop, such as what happens with an infinite loop after setTimeout or await, or during handling of an event. That is a real practical example that they should know. If you don't then you don't know neither theory nor practice.
- lostmsu 6y agoPractice can change tomorrow.