Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Functional JavaScript: Introducing Functional Programming with Underscore.js 1st Edition

4.2 out of 5 stars 35 customer reviews
ISBN-13: 978-1449360726
ISBN-10: 1449360726
Why is ISBN important?
ISBN
This bar-code number lets you verify that you're getting exactly the right version or edition of a book. The 13-digit and 10-digit formats both work.
Scan an ISBN with your phone
Use the Amazon App to scan ISBNs and compare prices.
Have one to sell? Sell on Amazon

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Buy used On clicking this link, a new layer will be open
$9.78 On clicking this link, a new layer will be open
Buy new On clicking this link, a new layer will be open
$25.39 On clicking this link, a new layer will be open
More Buying Choices
38 New from $13.86 23 Used from $9.78
Free Two-Day Shipping for College Students with Prime Student Free%20Two-Day%20Shipping%20for%20College%20Students%20with%20Amazon%20Student

$25.39 Free Shipping for Prime Members | Fast, FREE Shipping with Amazon Prime In Stock. Ships from and sold by Amazon.com. Gift-wrap available.
click to open popover

Frequently Bought Together

  • Functional JavaScript: Introducing Functional Programming with Underscore.js
  • +
  • JavaScript: The Good Parts
  • +
  • JavaScript Patterns: Build Better Applications with Coding and Design Patterns
Total price: $67.49
Buy the selected items together


Customers Viewing This Page May Be Interested In These Sponsored Links

  (What's this?)

Editorial Reviews

About the Author

NO_CONTENT_IN_FEATURE
New York Times best sellers
Browse the New York Times best sellers in popular categories like Fiction, Nonfiction, Picture Books and more. See more

Product Details

  • Paperback: 260 pages
  • Publisher: O'Reilly Media; 1 edition (June 20, 2013)
  • Language: English
  • ISBN-10: 1449360726
  • ISBN-13: 978-1449360726
  • Product Dimensions: 7 x 0.6 x 9.2 inches
  • Shipping Weight: 15.2 ounces (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (35 customer reviews)
  • Amazon Best Sellers Rank: #586,706 in Books (See Top 100 in Books)

Customers Viewing This Page May Be Interested In These Sponsored Links

  (What's this?)

Customer Reviews

Top Customer Reviews

By R. Friesel Jr. on June 19, 2013
Format: Kindle Edition
My name is on the back cover, and that blurb probably says it all but...

I had the privilege of reading some early drafts of this book and seeing it take shape. Fogus has written an outstanding book here and one that I could see joining the ranks of canonical JS texts like JavaScript: The Good Parts, Professional JavaScript for Web Developers, and JavaScript: The Definitive Guide (aka "el Rhino Diablo"). Just like Underscore is a surprisingly-small-yet-surprisingly-powerful library, so this book is surprisingly dense. This probably shouldn't be your first JavaScript book, but if you're familiar with the language already, then this is an excellent introduction to the functional programming paradigm, as well as how to apply those concepts to JavaScript. I'm particularly impressed with how accessible he makes some of these concepts (e.g., pipelining, trampolines, protocols) which can sometimes seem a bit... obtuse and academic. Fogus really shows how these powerful techniques can be used with great effect in JavaScript, but also how JavaScript itself makes some of these concepts possible (and even trivial) to implement.

Seriously: JavaScript is everywhere, it's the lingua franca of the web, and as we do more powerful things in the browser, we're going to need more powerful programming paradigms. "Functional JavaScript" helps show the way.
1 Comment 33 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
Disclaimer - I got this book through the O'Reilly blogger review program, however, I had planned on purchasing this book since I first heard of it, the fact I got it through the program was simply a bonus.

In his new book, Fogus attempts the twofold task of introducing his audience to functional programming in general, and demonstrating how one can achieve a functional style using Javascript and the underscore.js library in particular.

Reading this book was my first sustained investigation into functional programming proper. I had heard it mentioned in various contexts through the years, but as far as real reading into the topic, I doubt that I had done more than simply skimmed the functional programming wikipedia page.

I had, naively, expected to be faced with something entirely foreign when I initially opened the book. What I found, though, is probably best compared to the first time you listen to jazz music after years of listening to rock. All the parts are the same, the musicians use the same instruments, making the same sounds, but use them in ways that are both familiar but, in some sense, radically different at the same time.
In terms of example code provided, it will be comprehensible to anyone familiar with javascript, one might simply be struck by the _way_ things are done. They may seem unnatural at first, but once one starts to get a feeling for the functional style it becomes clear how functional programming makes it easier to reason clearly about your code, something that (it is obvious to me now) is much more difficult in the good old fashioned OOP or imperative programming paradigms.
Read more ›
Comment 19 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
In the foreword, the author makes an argument for why he finds Underscore so useful for writing functional JavaScript, then says "while I use Underscore extensively (and endorse it), this is not a book about Underscore, per se." This translates to "I'm going to use Underscore a lot in my code samples, but I'm not going to explain a bit of it."

But by the time you're 17 pages in, you're running into sample code like "return _.rest(.map(table, _.first)."

If you don't have a grounding in Underscore, you will hit a wall early on and have to choose between pausing to get a grounding in underscore or throwing the book away entirely.

Hopefully this review gives you the option of making that choice BEFORE buying the book.
10 Comments 88 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse
Format: Paperback
I've really been trying to get into functional programming. I really have. Conceptually, it's not too difficult, and I can understand everything presented in the book no problem.

But this book, like everything else I've come across regarding functional programming, gives me absolutely zero reason to use it in the wild. Like everything else, all its examples are basically about sorting lists, etc., and very little to do with what 99% of real-world JavaScript programming is.

In no place in the book does the author explain *why* you should use the functional style instead of imperative, or *when* you should, and when you shouldn't, or how to properly balance the two.

There are zero examples that are actually applicable to the real world. Show me how you'd build a simple webapp that tracks and categorizes songs in your music library, for example, and show me how you'd build it functionally, and show me what advantages this has to building it imperatively. Show me interaction with a database or a web service, and what advantages FP has.

Because, as far as I can tell, FP is a whole lot harder to debug (at least in JavaScript), a whole lot harder to maintain, and it's main strengths are geared towards parallel processing -- which, obviously, does not exist in JavaScript.

So this book tells me *how* to do FP in JS, but I am still left clueless and baffled as to why you would ever, or when it's appropriate and when it's not.
5 Comments 36 people found this helpful. Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again
Report abuse

Most Recent Customer Reviews

Set up an Amazon Giveaway

Functional JavaScript: Introducing Functional Programming with Underscore.js
Amazon Giveaway allows you to run promotional giveaways in order to create buzz, reward your audience, and attract new followers and customers. Learn more about Amazon Giveaway
This item: Functional JavaScript: Introducing Functional Programming with Underscore.js

Pages with Related Products. See and discover other items: functional programming patterns