Ramda Thinking: Conclusion

1. First steps
2. We combine functions
3. Partial application (currying)
4. Declarative programming
5. Ruleless Notation
6. Immutability and objects
7. Immutability and arrays
8. Lenses
9. Conclusion


This post completes a series of articles on functional programming called Ramda Thinking.


In the last eight posts, we’ve talked about the Ramda JavaScript library, which provides functions for working with JavaScript in a functional, declarative, and immutable style.


During this series of articles, we learned that Ramda has several basic principles that guide its API:



These two principles allow us to write very clean functional code that combines basic building blocks into more powerful operations.


Summary


For reference, here is a short summary of a series of articles.



What's next?


We did not cover all the details of Ramda in this series of articles. In particular, we did not talk about functions for working with strings and did not talk about more complex concepts, such as transducers .


In order to learn more about what Ramda can do, I recommend studying its documentation . There is a wealth of information. All functions are grouped by the type of data with which they work, although there is some overlap. For example, some of the functions for working with arrays also work with strings, and map works with both arrays and objects.


If you are interested in more complex functional topics, here are some places you can refer to:





From the author of translation of articles: if the Lord pleases, I will continue to translate articles on Ramda, in particular, I have a desire to translate an article on using ramda with redux , an article on functional components with React stateless functions and Ramda , an article on modular reducers and selectors , and probably an article on the globalization of redux selectors .

Source: https://habr.com/ru/post/415037/


All Articles