Functional JavaScript: Introducing Functional Programming with Underscore.js (Paperback)

Functional JavaScript: Introducing Functional Programming with Underscore.js (Paperback)

作者: Michael Fogus
出版社: O'Reilly
出版在: 2013-07-02
ISBN-13: 9781449360726
ISBN-10: 1449360726
裝訂格式: Paperback
總頁數: 260 頁





內容描述


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




相關書籍

細說 PHP, 4/e

作者 高洛峰

2013-07-02

PHP 7 Solutions: Dynamic Web Design Made Easy, 4/e

作者 Powers David

2013-07-02

Grails in Action, 2/e (Paperback)

作者 Peter Ledbrook Glen Smith

2013-07-02