4 ms·
I have done some interviews for front-end positions and it is interesting watching non-degree candidates crumble on certain really easy questions. Even somethin
by ericmcer 7y ago
I have done some interviews for front-end positions and it is interesting watching non-degree candidates crumble on certain really easy questions. Even something simple, like a while loop can trip up some of the newer devs who try to figure out which of the canned JS array library functions I am asking for.
Not that you often need a while loop, it's just interesting that modern web development has shifted to be so functional that you could be a professional programmer who does not fully grasp a while loop.
- quickthrower2 7y agoI am not sure how this is correlated with not having a degree. In my degree they didn't teach me while loops specifically. I taught myself them before the degree because I programmed as a hobby. I'm sure bootcamps would teach `while`. I also don't see what this has to do with FP. I bet there are few people who understand map/reduce functions and don't get for/while loops, unless they are literally just memorizing tutorials without understanding them.
- ericmcer 7y agomap/reduce deals specifically with an array whereas a while doesn’t? Most people get traversing an array with a for/while loop vs traversing with map, but using a while loop in a more algorithmic question trips people up. Let’s say my terminating case is that a number no longer has a remainder when divided by X, that confuses people, different from terminating at the end of the array.