Functional JavaScript: Introducing Functional Programming with Underscore.js (Paperback)
暫譯: 函數式 JavaScript:使用 Underscore.js 介紹函數式程式設計 (平裝本)
Michael Fogus
- 出版商: O'Reilly
- 出版日期: 2013-07-16
- 定價: $1,030
- 售價: 9.5 折 $979
- 語言: 英文
- 頁數: 260
- 裝訂: Paperback
- ISBN: 1449360726
- ISBN-13: 9781449360726
-
相關分類:
JavaScript
立即出貨
買這商品的人也買了...
-
$880$695 -
$620$527 -
$820$648 -
$780$616 -
$520$411 -
$550$468 -
$780$616 -
$400$380 -
$580$458 -
$450$356 -
$940$700 -
$680$537 -
$480$379 -
$480$379 -
$680$537 -
$780$616 -
$350$277 -
$580$452 -
$520$411 -
$450$356 -
$780$616 -
$360$284 -
$520$411 -
$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 在使用遞迴函數方面的限制
- 減少、隱藏或消除程序中狀態變更的足跡
- 練習基於流程的編程,使用鏈和函數管道
- 發現如何在不使用類別的情況下編碼