5 ms·
> Functional thinking tends to do that, irrespective of the language. Can you expand on this a bit more? And if possible, some books that teach this kind of t
by curious16 4y ago
> Functional thinking tends to do that, irrespective of the language.
Can you expand on this a bit more?
And if possible, some books that teach this kind of thinking?
- eurasiantiger 4y agoA good and practical first step is to learn to use map, filter and reduce to solve everyday problems, such as transforming an array of recursive definitions to an array of React component trees. Hint: define the function separately from where it is applied, and also apply it recursively.
- debanjan16 4y agoDo you have any book recommendations?
- eurasiantiger 4y agoNot really. References are enough. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Map https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/Reduce https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...