3 ms·
> Maybe during the interview process we should make sure the candidates fully understand the callback style and Javascript's async model. I used to ask candida
by forty 6y ago
> Maybe during the interview process we should make sure the candidates fully understand the callback style and Javascript's async model.
I used to ask candidates to implement async.map and I used to be baffled that the majority of JS devs are unable to do it. There are those who would say "I'm not used to callbacks, I use promises". I would then allow them to use promises (no Promise.all allowed, that's what we are trying to implement ^^). I have never seen one of those "promise only candidate" manage to do the exercise.
If you want to push it to the next level, ask them to implement async.mapLimit. You wouldn't believe how few people that are looking time professional JS devs, are actually able to do it properly (I actually used to ask that one, before realizing that it was too much to ask... )
- emilsedgh 6y agoThese are actually pretty awesome questions to ask in an interview. Thanks!