Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

”The third thing is that they seemed to go from solution hypothesis to code very naturally”

Functional thinking tends to do that, irrespective of the language. Once you have the ”pipeline” in your head, you can just write it out.



> 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?


A 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.


Do you have any book recommendations?





Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: