Fun with Functional JavaScript
summary
Claim: JavaScript is practical for functional programming and the talk proves it by reimplementing an array normalization task three ways and running each demo successfully. Builds: vanilla JS map+flip+curry+compose to collapse ten lines into one; then uses lodash partialRight and built-in curry/compose to simplify further; finally uses FunctionalJS curried by default so map takes the function first. Also demos ES6 improvements like arrow + spread/rest (tail calls not yet available in engines). Results match and are more concise and readable.
AI-written summary · about
chapters (9)
- 0:00Introduction to talk
- 1:25Functional programming basics
- 6:06JavaScript functional features
- 10:37Vanilla JS functional demo
- 17:24LoDash functional approach
- 21:19Functional JS library demo
- 24:13ECMAScript 6 features
- 33:51ECMAScript 6 demo
- 34:12Conclusions and resources
related talks
20mFunctional JavaScript
49mGoing Functional with JS
35mFunctional programming and curry cooking in JS
34mFunctional JavaScript for everyone
50mFrom Javascript to Haskell : Functional Programming made simple
49mA Skeptics guide to functional style javascript
48mA Skeptic's Guide to Functional Style Javascript
12mAn introduction to functional programming
