Functional JavaScript: Introducing Functional Programming with Underscore.js

Functional JavaScript: Introducing Functional Programming with Underscore.js

by Michael Fogus


$26.99 $29.99 Save 10% Current price is $26.99, Original price is $29.99. You Save 10%.
View All Available Formats & Editions
Choose Expedited Shipping at checkout for guaranteed delivery by Friday, March 29

Product Details

ISBN-13: 9781449360726
Publisher: O'Reilly Media, Incorporated
Publication date: 06/18/2013
Pages: 237
Sales rank: 818,635
Product dimensions: 7.00(w) x 9.10(h) x 0.90(d)

About the Author

Michael Fogus is software developer with experience in distributedsimulation, machine vision, and expert systems construction. He's actively involved in the Clojure and Scala communities.

Table of Contents

Foreword by Jeremy Ashkenas;
Foreword by Steve Vinoski;
What Is Underscore?;
Whom Functional JavaScript Is Written For;
A Roadmap for Functional JavaScript;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Chapter 1: Introducing Functional JavaScript;
1.1 The Case for JavaScript;
1.2 Getting Started with Functional Programming;
1.3 The Case for Underscore;
1.4 Summary;
Chapter 2: First-Class Functions and Applicative Programming;
2.1 Functions as First-Class Things;
2.2 Applicative Programming;
2.3 Data Thinking;
2.4 Summary;
Chapter 3: Variable Scope and Closures;
3.1 Global Scope;
3.2 Lexical Scope;
3.3 Dynamic Scope;
3.4 Function Scope;
3.5 Closures;
3.6 Summary;
Chapter 4: Higher-Order Functions;
4.1 Functions That Take Other Functions;
4.2 Functions That Return Other Functions;
4.3 Putting It All Together: Object Validators;
4.4 Summary;
Chapter 5: Function-Building Functions;
5.1 The Essence of Functional Composition;
5.2 Currying;
5.3 Partial Application;
5.4 Stitching Functions End-to-End with Compose;
5.5 Summary;
Chapter 6: Recursion;
6.1 Self-Absorbed Functions (Functions That Call Themselves);
6.2 Codependent Functions (Functions Calling Other Functions That Call Back);
6.3 Too Much Recursion!;
6.4 Recursion Is a Low-Level Operation;
6.5 Summary;
Chapter 7: Purity, Immutability, and Policies for Change;
7.1 Purity;
7.2 Immutability;
7.3 Policies for Controlling Change;
7.4 Summary;
Chapter 8: Flow-Based Programming;
8.1 Chaining;
8.2 Pipelining;
8.3 Data Flow versus Control Flow;
8.4 Summary;
Chapter 9: Programming Without Class;
9.1 Data Orientation;
9.2 Mixins;
9.3 }).call("Finis");;
Functional JavaScript in the Wild;
Functional Libraries for JavaScript;
Functional Programming Languages Targeting JavaScript;
Annotated Bibliography;
Papers/Books/Blog Posts/Talks;
Blog Posts;
Journal Articles;

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews