4 ms·
I 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 degre
by quickthrower2 7y ago
I 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.