Functional JavaScript
Introducing Functional Programming with Underscore.Js?
(Sprache: Englisch)
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...
Leider schon ausverkauft
versandkostenfrei
Buch
24.50 €
Produktdetails
Produktinformationen zu „Functional JavaScript “
Klappentext zu „Functional JavaScript “
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
Inhaltsverzeichnis zu „Functional JavaScript “
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;
... mehr
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;
... weniger
Autoren-Porträt von Michael Fogus
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.
Bibliographische Angaben
- Autor: Michael Fogus
- 150 Seiten, mit Schwarz-Weiß-Abbildungen, Maße: 20,7 x 23,3 cm, Kartoniert (TB), Englisch
- Verlag: O'Reilly Media, Inc.
- ISBN-10: 1449360726
- ISBN-13: 9781449360726
- Erscheinungsdatum: 18.06.2013
Sprache:
Englisch
Kommentar zu "Functional JavaScript"
0 Gebrauchte Artikel zu „Functional JavaScript“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Functional JavaScript".
Kommentar verfassen