And I like JavaScript
lwestby@alumni.nd.edu
@luke_dot_js
In functional programming, functions act like this
They represent transformations on values
Functions can both transform values and be transformed as values
(first-class functions)
This allows us to consider sets of higher-order functions which apply transformations to data
A Collection is
mousemove events can be expressed as a collection of mouse positions over time
XHRs can be expressed as a collection of server side values that arrive over time
Many, many, many more possibilities
This perspective allows us to approach UI events, XHR, etc. the same way we approach arrays and objects
http://reactive-extensions.github.io/RxJS/
By lukewestby