2015
tutsplus.com
Jason Rhodes
1h38m
English
Learn the basics of functional programming in JavaScript. You'll take a small, mostly imperative website and refactor it using practical declarative and functional concepts. You'll learn about pure functions, side-effects and declarative style while building a small functional utility library. The project will demonstrate how Underscore or Lodash functions like filter, map, and reduce really work. Focused on practical understanding over philosophy, this is a great basic intro to functional programming that will prepare you for deeper exploration.
Introduction
Introduction
A Refresher on Functions
Project Walkthrough
Some Basic Improvements
Getting Declarative
Making our Filter Declarative
Becoming Familiar With Higher-Order Functions
Callbacks, the Other Higher-Order Function
A Look at Pure Functions
Building a Functional Utility Library
Functional Filter
Understanding Map and Reduce
Reorganizing Our Collection With GroupBy
Getting Creative With Pluck and Mean
Some Existing Tools
Underscore and Lodash
Native JavaScript Functions in ES5
Conclusion
Conclusion
http://goo.gl/K2ralM
Download File Size:1.04 GB