3 ms·
The article at least paid lip service to `map` and `reduce`. It's a shame the author spent most of their effort describing `forEach`. This is quite a superficia
by yakshaving_jgt 5y ago
The article at least paid lip service to `map` and `reduce`. It's a shame the author spent most of their effort describing `forEach`. This is quite a superficial take on FP. It would be better to guide the reader into a different mental model entirely. What is presented here is essentially a syntax-swap.
If you're a JavaScript developer and you want to learn Functional Programming, then learn Elm. It's a small, easy language, and learning it will make you a better JavaScript programmer.