Functional JavaScript: Introducing Functional Programming with Underscore.js (Paperback)
Michael Fogus
- 出版商: O'Reilly
- 出版日期: 2013-07-16
- 定價: $1,030
- 售價: 9.5 折 $979
- 貴賓價: 9.0 折 $927
- 語言: 英文
- 頁數: 260
- 裝訂: Paperback
- ISBN: 1449360726
- ISBN-13: 9781449360726
-
相關分類:
JavaScript
立即出貨
買這商品的人也買了...
-
$880$581 -
$620$527 -
$820$648 -
$780$663 -
$520$411 -
$550$468 -
$780$663 -
$400$380 -
$580$458 -
$450$356 -
$940$700 -
$680$578 -
$480$379 -
$480$408 -
$680$578 -
$780$616 -
$350$263 -
$580$452 -
$520$411 -
$450$356 -
$780$616 -
$360$284 -
$520$442 -
$590$502 -
$580$458
相關主題
商品描述
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
商品描述(中文翻譯)
如何克服JavaScript語言的奇怪之處和不安全功能?這本書將教你如何使用JavaScript的函數式編程支持創建美觀、安全且易於理解和測試的代碼。作者Michael Fogus向你展示如何使用Underscore.js這個JavaScript庫來應用函數式編程技術。示例代碼可在GitHub上找到,網址為https://github.com/funjs/book-source。
Fogus幫助你以函數式的方式思考,以幫助你在構建程序時最大程度地減少複雜性。如果你是一個希望學習函數式編程技術的JavaScript程序員,或者是一個希望學習JavaScript的函數式程序員,這本書是理想的入門指南。
本書內容包括:
- 使用一等函數應用程序編程技術
- 理解變量作用域和閉包的使用方法和原因
- 深入研究高階函數,並了解它們如何以最大優勢接受其他函數作為參數
- 探索從現有函數中組合新函數的方法
- 解決JavaScript在使用遞歸函數方面的限制
- 減少、隱藏或消除程序中狀態變化的痕跡
- 使用鏈和函數管道進行基於流的編程
- 發現如何在不使用類的情況下編寫代碼