‘Higher-order functions’ is a fancy term for functions that take other functions as arguments or that return functions. Very powerful! Last week, I casually dropped the term “higher-order function” ...
Let’s understand why we need functions in the first place. Hurrah! we have converted it into functions but wait and ask, ‘Are we using DRY here?’. No, we are still repeating every addition of two ...
In the past two columns, we’ve looked at higher-order functions and talked a little bit about the power of functional programming. So far, the concepts we’ve covered do little to indicate how powerful ...