functional javascript

Post on 26-May-2015

784 Views

Category:

Technology

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

A talk by Rob Friesel about using functional programming techniques in JavaScript, inspired by Michael Fogus' book with the same name. (Given at BurlingtonJS 6/19/2013.) Code is on Github: https://github.com/founddrama/burlingtonjs-funjs-talk

TRANSCRIPT

Functional JavaScripta talk by Rob Friesel

blog.founddrama.net • @founddrama

Wednesday, June 19, 13

Who is this guy?➡Sr. UI Developer at Dealer.com➡out there on the web:-@founddrama-blog.founddrama.net-github.com/founddrama

➡Helped edit a few books-including...

Wednesday, June 19, 13

FunctionalJavaScript

“Introducing Functional

Programming with Underscore.js”by Michael Fogus

Wednesday, June 19, 13

JavaScript?Why?

Wednesday, June 19, 13

Wednesday, June 19, 13

Functional?Why?

Wednesday, June 19, 13

λWednesday, June 19, 13

“Functional programming is the use of many functions that transform data as the primary means for

building programs.”

--Michael Fogus

Wednesday, June 19, 13

Defining characteristics?functions as first-class objects

“verbs, not nouns”

minimize side effects

composable

Wednesday, June 19, 13

Underscore?Who? What? Why?

Wednesday, June 19, 13

battle-tested, functionally-oriented library

already deals with the thorny cross-browser-platform issues

underscore-contrib

Wednesday, June 19, 13

So many topics, so little time...

applicative programming

higher-order functions

protocols

Wednesday, June 19, 13

“Show me the code.”github.com/founddrama/burlingtonjs-funjs-talk

Wednesday, June 19, 13

Learn more!Functional JavaScript by Michael Fogus (@fogus)

Underscorejs.org

github.com/documentcloud/underscore-contrib

osteele.com/sources/javascript/functional/

allong.es/

...and more!

Wednesday, June 19, 13

Thanks.

Wednesday, June 19, 13

top related