JSFoo 2012

It’s like kung fu with JavaScript and objects! All about building full size apps in JavaScript.

Shreyank Gupta


Score with Underscore.js

Submitted Aug 2, 2012

How Underscore.js brings functional programming into JavaScript and how it ties with Backbone.js


Underscore.js provides a set of utilities which allows a JavaScript programmer to go functional. Quoting the documentation, “It’s the tie to go along with jQuery’s tux, and Backbone.js’s suspenders”

In the tutorial I aim to cover why functional programming is the way to go for JavaScript programmers and how Underscore.js makes it a reality.

I’ll walk through each, map, reduce, filter, select etc. and most of the useful functional bits of Underscore. I’ll also cover the other bits including bind, throttle etc. and features like chaining.

Underscore.js makes you think differently while writing JavaScript. That’s what I want the audience to take back from the session.


Functional programming basics.
JavaScript Basics.

Speaker bio

Shreyank Gupta works as a Software Engineer at Red Hat. He writes code in Python, Ruby and JavaScript.




{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more