In part one of this series, we looked looked at the basics of functional programming and visited, in detail, immutability and side-effect free code. In part two, we explored the concepts of higher-order functions and currying, as well as the myriad of…
Continue Reading… In part one of this series, we looked looked at the basics of functional programming and visited in detail immutability and side-effect free code. Today, we’re going to look at higher-order functions and currying, two amazingly useful functional style features that Ruby…
Continue Reading… Ruby is an interesting language in that it supports the use of multiple paradigms. One of these is the functional paradigm. In this series, we’ll visit each of these features one by one, and look at how you can use them to produce cleaner, more efficient, and better-structured code.
Continue Reading…