Underscore
- 12. Wu.js to the rescue!
(well, one function at least)
(well, one function at least)
- 25. 0 0
Example
Functional Underscore
- 26. 1 0
Example
Functional Underscore
- 27. 2 0
Example
Functional Underscore
- 28. 3 0
Example
Functional Underscore
- 31. Currying
• Make generic functions - data is gone
• Build new functions by applying args
• Much more concise definitions
• Make types “line up” for composition
- 46. 3 0
Example
Functional Underscore
- 47. 4 0
Example
Functional Underscore
- 48. 5 0
Example
Functional Underscore
- 52. Composition
• Build new functions from other functions
• Helps build generic programs w/o args
• Extremely high level coding
• Mathematically backed
- 69. 5 0
Example
Functional Underscore
- 70. 6 0
Example
Functional Underscore
- 71. 7 0
Example
Functional Underscore
- 74. s
• Change behavior without altering function
open/closed principle
• Not just map - reduce, compose, etc
• Intuition and “non proprietary” api
• Free formulas
• Dynamic type safety?