Functional JavaScript: Building data structures from functions
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 the basic building blocks of functional programming are when combined. In this post, we’ll examine how functions alone can be used as data and data structures. This may sound strange, but you’ll soon see what I mean.
To read this article in full, please click here
(Insider Story)from InfoWorld http://bit.ly/2VDjfEA
No comments: