Warehouse Stock Clearance Sale

Grab a bargain today!


Sign Up for Fishpond's Best Deals Delivered to You Every Day
Go
Functional JavaScript
Introducing Functional Programming with Underscore.Js?

Rating
429 Ratings by Goodreads
Already own it? Write a review
Format
Paperback, 260 pages
Published
United States, 18 June 2013

How can you overcome JavaScript language oddities and unsafe features? With this book, you’ll learn how to create code that’s beautiful, safe, and simple to understand and test by using JavaScript’s functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques. Sample code is available on GitHub at https://github.com/funjs/book-source.



Fogus helps you think in a functional way to help you minimize complexity in the programs you build. If you’re a JavaScript programmer hoping to learn functional programming techniques, or a functional programmer looking to learn JavaScript, this book is the ideal introduction.

* Use applicative programming techniques with first-class functions

* Understand how and why you might leverage variable scoping and closures

* Delve into higher-order functions—and learn how they take other functions as arguments for maximum advantage

* Explore ways to compose new functions from existing functions

* Get around JavaScript’s limitations for using recursive functions

* Reduce, hide, or eliminate the footprint of state change in your programs

* Practice flow-based programming with chains and functional pipelines

* Discover how to code without using classes



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.


Foreword by Jeremy Ashkenas; Foreword by Steve Vinoski; Preface; 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; Acknowledgments; 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; Presentations; Blog Posts; Journal Articles; Colophon;

Show more

Our Price
HK$194
Elsewhere
HK$247.71
Save HK$53.71 (22%)
Ships from UK Estimated delivery date: 5th Jun - 12th Jun from UK
Free Shipping Worldwide

Buy Together
+
Buy together with D3.Js by Example at a great price!
Buy Together
HK$581

Product Description

How can you overcome JavaScript language oddities and unsafe features? With this book, you’ll learn how to create code that’s beautiful, safe, and simple to understand and test by using JavaScript’s functional programming support. Author Michael Fogus shows you how to apply functional-style concepts with Underscore.js, a JavaScript library that facilitates functional programming techniques. Sample code is available on GitHub at https://github.com/funjs/book-source.



Fogus helps you think in a functional way to help you minimize complexity in the programs you build. If you’re a JavaScript programmer hoping to learn functional programming techniques, or a functional programmer looking to learn JavaScript, this book is the ideal introduction.

* Use applicative programming techniques with first-class functions

* Understand how and why you might leverage variable scoping and closures

* Delve into higher-order functions—and learn how they take other functions as arguments for maximum advantage

* Explore ways to compose new functions from existing functions

* Get around JavaScript’s limitations for using recursive functions

* Reduce, hide, or eliminate the footprint of state change in your programs

* Practice flow-based programming with chains and functional pipelines

* Discover how to code without using classes



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.


Foreword by Jeremy Ashkenas; Foreword by Steve Vinoski; Preface; 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; Acknowledgments; 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; Presentations; Blog Posts; Journal Articles; Colophon;

Show more
Product Details
EAN
9781449360726
ISBN
1449360726
Publisher
Other Information
black & white illustrations, black & white line drawings, figures
Dimensions
24 x 17.1 x 1.4 centimeters (0.43 kg)

About the Author

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

Review this Product
Ask a Question About this Product More...
 
Look for similar items by category
Item ships from and is sold by Fishpond World Ltd.

Back to top